################################ separator ##################################### # for a full description on how to solve these puzzles automatically, visit: # http://www.nado.nl/mark/puzzels/logiquiz.html ################################ separator ##################################### [title] Easy start [description] The easiest puzzle [actors] daphne, mark [age] 50, 52 [solution] ((1, 0)) [clue] mark is two years older age?mark == age?daphne + 2 ################################ separator ##################################### [title] Two by Two [description] Learn it [actors] john_doe, jane_doe [height_cm] 210, 190 [hair_color] brown, blonde [solution] ((0,1),(1,0)) # size: 2 actors, 2 properties [clue] The blonde one is the tallest hair_color.blonde == height_cm.210 [clue] John is larger than Jane height_cm?john_doe > height_cm?jane_doe ################################ separator ##################################### [title] Grandmothers [description] Grandmother Cecily, grandmother Emma, and grandmother Margaret each have a different age. They also each practice their own sport. Find out how old each grandmother is and which sport each one practices. [actors] cecily, emma, margaret [age] 56, 61, 74 [sport] darts, karate, swimming [solution] ((1,0,2), (2,1,0)) # size: 3 actors, 2 properties [clue] Emma, the youngest, practices karate age?emma == 56 and actors.emma == sport.karate [clue] The eldest grandmother plays darts age.74 == sport.darts [clue] Margaret does not like to swim actors.margaret != sport.swimming ################################ separator ##################################### [title] School trip [description] Three girls from a class are sitting in different places on the bus, on their way to the amusement park. When they arrive, each of them wants to go to a different attraction first. Find out where each classmate is sitting on the bus and which attraction they want to visit first. Note: Depending on how the last clue is interpreted, there are either no solutions or two solutions. [actors] levi, racha, sophie [grade] 6, 7, 8 [place] behind, middle, front [start] rollercoaster, ferris_wheel, haunted_house [solution] ((0,1,2),(1,0,2),(1,0,2)) # size: 3 actors, 3 properties [clue] one of the girls sits in the middle of the bus, and wants to go to the ferris wheel first place.middle == start.ferris_wheel [clue] the girl from grade 7 is not sitting at the front of the bus place.front != grade.7 [clue] the girl from grade 8 wants to go to the haunted house first, her name is not Levi grade?haunted_house == 8 and grade?levi != 8 [clue] The name of the child that want to go to the rollercoaster first, alphabetically follows (right) after the six-grader ord(actors?rollercoaster[:1]) > ord(actors?6[:1]) ################################ separator ##################################### [title] Schoolprestaties [description] Welk vak is favoriet van welke leerling, wie is de docent van dat vak, en hoe hoog is het laatst behaalde cijfer voor dat vak ? [actors] arie, dirk, jacobus, wilhelmina [cijfer] 5, 7, 8, 10 [vak] biologie, economie, engels, frans [docent] degroot, jansen, mulder, visser [solution] ((2, 0, 3, 1), (0, 2, 3, 1), (2, 3, 0, 1)) # size: 4 actors, 3 properties [clue] Biologie is het favoriete vak van Arie actors.arie == vak.biologie [clue] Jacobus behaalde de hoogst mogelijke score actors.jacobus == cijfer.10 [clue] voor Engels werd geen zeven behaald cijfer.engels != cijfer.7 [clue] Wilhelmina volgt haar favoriete vak bij mw. Jansen actors.wilhelmina == docent.jansen [clue] de favoriete docente van jacobus geeft frans (actors.jacobus == docent.degroot or actors.jacobus == docent.jansen) and actors.jacobus == vak.frans [clue] dhr. Visser geeft Engels docent.visser == vak.engels [clue] Wilhelmina behaalde een betere score dan Dirk cijfer?wilhelmina > cijfer?dirk [clue] het vak Frans wordt gegeven door mw. deGroot, en Economie door mw. Jansen, of omgekeerd vak.frans == docent.degroot and vak.economie == docent.jansen or vak.frans == docent.jansen and vak.economie == docent.degroot [clue] het cijfer dat dhr. Mulder gaf aan zijn leerling, kwam overeen met het aantal letters waaruit zijn vak bestaat len(vak?mulder) == cijfer?mulder [clue] voor economie en engels werden de minste cijfers gescoord cijfer?economie in [5, 7] and cijfer?engels in [5, 7] ################################ separator ##################################### [title] Mocktails [description] In this Logiquiz contains a wrong clue, intentionally. You have to find out which one that is. Masha has developed a taste for mocktails, which are alcohol-free cocktails, and now she makes a different one every day, not only for herself, but also for anyone who wants to try her concoctions. From: Logiquiz collectie, nr.81, p.50-51 [actors] pomegranate, grapefruit, plums, watermelon [day] thu, fri, sat, sun [addition] ginger, honey, lime, mint [number] 2, 3, 4, 5 #[solution_given] clue 2 is the wrong one #[solution] ((1,0,3,2), (2,1,0,3), (1,3,2,0)) or ((1,2,3,0),(2,3,0,1),(2,3,0,1)) # note: to find out whick clue is the wrong one, you have to trial-and-error: it will show that leaving out either clue 2 OR clue 5 will result in one solution, while applying both wil result in no solution. So the correct answer to the question is: clue 2 OR clue 5. Thus, the actual solution is also not unique. # size: 4 actors, 3 properties [clue] 1. The mocktail to which mint has been added is drunk earlier than the one with plums, but later than the one with pomegranate, of which she doesn't make five. ((day?mint == 'fri' and day?plums in ['sat', 'sun']) or (day?mint == 'sat' and day?plums == 'sun')) and ((day?mint == 'sat' and day?pomegranate in ['thu', 'fri']) or (day?mint == 'fri' and day?pomegranate == 'thu')) and number?pomegranate != 5 [clue] 2. One day before Masha adds honey to the mocktail, she prepares two mocktails, but they are not with watermelon. (day.honey == day.fri and day.2 == day.thu) or (day.honey == day.sat and day.2 == day.fri) or (day.honey == day.sun and day.2 == day.sat) and number?watermelon != 2 [clue] 3. The mocktail with watermelon is drunk by one person fewer than the one on Friday. number?watermelon == number?fri - 1 [clue] 4. The plum cocktail, which does not contain melon, is drunk by fewer people than the mocktail from Thursday to which honey was added. actors.plums != addition.lime and number?plums < number?thu and number?pomegranate != 5 and day.thu == addition.honey #[clue] 5. The mocktail with grapefruit is drunk by one person more than the one with ginger #number?grapefruit == number?ginger + 1 ################################ separator ##################################### [title] My family [description] find out about this rare family [actors] daphne, jules, mark, niels [leeftijd] 16, 18, 50, 52 [hobby] fietsen_maken, gamen, haken, paardrijden [eten] bk, gehaktbrood, kapsalon, witlof [solution] ((2,0,3,1),(2,1,0,3),(3,1,0,2)) # size: 4 actors, 3 properties [clue] Daphne is 50 jaar oud leeftijd?daphne == 50 [clue] de gamer is 16 jaar oud leeftijd?gamen == 16 [clue] de paardrijder houdt van een vette hap hobby.paardrijden == eten.kapsalon [clue] de haker is 34 jaar ouder dan degene die het liefst gehaktbrood eet leeftijd?haken == leeftijd?gehaktbrood + 34 [clue] de fietsenmaker houdt van de BK hobby.fietsen_maken == eten.bk [clue] de fietsenmaker is twee jaar ouder dan diegene die van witlof houdt leeftijd?fietsen_maken == leeftijd?witlof + 2 [clue] van diegene wiens hobby eindigt op ‘-ken’ houdt de een van witlof en de ander is 52 jaar oud hobby.haken == eten.witlof and leeftijd?fietsen_maken == 52 or hobby.fietsen_maken == eten.witlof and leeftijd?witlof == 52 [clue] niels vindt paardrijden leuk actors.niels == hobby.paardrijden [clue] mark is 2 jaar ouder dan degene die van witlof houdt leeftijd?mark == leeftijd?witlof + 2 ################################ separator ##################################### [title] Recycle [description] De afvalstoffendienst heeft een schema opgesteld om de verschillende afvalstromen goed te kunnen scheiden. Daarvoor zetten ze ook verschillende gekleurde wagens in. Welk soort afval wordt wanneer opgehaald, door welke kleur wagen ? [actors] gft, papier, plastic, restafval [dag] dinsdag, woensdag, donderdag, vrijdag [tijd] 5, 6, 7, 8 [kleur] blauw, geel, groen, oranje [solution] ((0,1,3,2),(2,0,3,1),(1,3,0,2)) # size: 4 actors, 3 properties [clue] de wagen die om 5 uur komt, is oranje tijd?oranje == 5 [clue] de wagen die papier komt halen, komt de dag na die van het gft (actors.papier == dag.woensdag) and (actors.gft == dag.dinsdag) or (actors.papier == dag.donderdag) and (actors.gft) == (dag.woensdag) or (actors.papier == dag.vrijdag) and (actors.gft == dag.donderdag) [clue] het restafval wordt opgehaald op donderdag of om 7 uur actors.restafval == dag.donderdag or tijd?restafval == 7 [clue] de blauwe wagen komt 1 uur na de gele wagen tijd?blauw == tijd?geel + 1 [clue] het gft wordt opgehaald om 6 of 7 uur tijd?gft in [6, 7] [clue] de ophaaltijd op vrijdag is 7 of 8 uur. Om 8 uur wordt geen restafval opgehaald tijd?vrijdag in [7, 8] and tijd?restafval != 8 [clue] papier wordt de opgehaald op de dag voor de groene wagen actors.papier == dag.dinsdag and kleur.groen == dag.woensdag or actors.papier == dag.woensdag and kleur.groen == dag.donderdag or actors.papier == dag.donderdag and kleur.groen == dag.vrijdag [clue] op donderdag wordt niet om 8 uur opgehaald. De wagen van dinsdag is niet blauw. tijd?donderdag != 8 and dag.dinsdag != kleur.blauw [clue] de wagen van woensdag is voor gft of is oranje actors.gft == dag.woensdag or dag.woensdag == kleur.oranje ################################ separator ##################################### [title] Lang niet gezien [description] Vier vriendinnen gaan op bezoek bij een familielid dat ze lang niet gezien hebben, omdat die persoon in een ander werelddeel woont. Wie gaat bij wie op bezoek, in welke relatie staan zij tot elkaar, en hoe lang hebben ze elkaar niet gezien ? uit: Logikwis collectie, nr.72, p30, © Denksport. [actors] cora, ellen, lucy, marion [achternaam] bartels, donker, holtus, rees [gastvrouw] lydia, riet, sylvia, tanja [plaats] auckland, bonaire, sydney, toronto [relatie] dochter, nicht, tante, zus [duur] 1, 3, 5, 7 [solution] ((1,2,0,3),(1,0,2,3),(2,3,1,0),(2,1,3,0),(1,2,3,0)) # size: 4 actors, 5 properties [clue] De moeder ziet haar dochter elk jaar. Mevrouw Holtus gaat naar haar nicht. duur?dochter == 1 and achternaam.holtus == relatie.nicht [clue] Sylvia heeft haar gast 7 jaar niet gezien. duur?sylvia == 7 [clue] Ellen heeft degene die ze bezoekt al 5 jaar niet gezien: dat is niet de tante in Sydney. duur?ellen == 5 and relatie.tante == plaats.sydney and actors.ellen != plaats.sydney [clue] Marion en haar gastvrouw zijn niet zo lang gescheiden geweest als het paar dat elkaar treft in Toronto. Die twee zijn geen zussen duur?marion < duur?toronto and relatie.zus != plaats.toronto [clue] Mevrouw Rees logeert bij Tanja. achternaam.rees == gastvrouw.tanja [clue] De laatste ontmoeting tussen Cora Donker en haar gastvrouw is 2 jaar korter geleden dan die tussen Lydia en haar gast. actors.cora == achternaam.donker and duur?cora == duur?lydia - 2 [clue] Lucy gaat naar Bonaire. actors.lucy == plaats.bonaire ################################ separator ##################################### [title] Guest speakers [description] Group eight will invite several guest speakers this year [actors] cor, jeanet, nina, peter, tycho [age] 40, 42, 45, 48, 50 [subject] alcohol, first_aid, fake_weapons, freedom, fireworks [month] october, december, february, may, june [solution] ((3,0,2,4,1),(0,2,3,4,1),(2,4,3,1,0)) # size: 5 actors, 3 properties [clue] in december someone, whose name is not Tycho, comes to talk about fireworks subject.fireworks == month.december and actors.tycho != subject.fireworks [clue] in may the topic is freedom, that person is 45 years old subject.freedom == month.may and age?may == 45 [clue] jeanet comes to talk about fake weapons actors.jeanet == subject.fake_weapons [clue] the person speaking about alcohol in february is two years younger than peter subject.alcohol == month.february and age?peter == age?alcohol + 2 [clue] tycho is 42. cor is older than nina actors.tycho == age.42 and age?cor > age?nina [clue] the person speaking in june doesn't talk about first aid subject.first_aid != month.june ################################ separator ##################################### [title] Eating out [description] Five friends go out for something to eat, who ordered what, at what costs ? [actors] chip, erica, geoffrey, irene, samantha [eat] italian_sub, cheeseburger, club_sandwich, taco_salad, tuna_on_rye [drink] diet_coke, ginger_ale, iced_tea, orange_soda, water [cost] 490, 535, 580, 625, 670 [solution] ((1,0,3,4,2),(1,4,0,3,2),(2,4,0,1,3)) # size: 5 actors, 3 properties [clue] Geoffrey\'s order, the order with the ginger ale, and the order with the club sandwich, were all separate orders eat.ginger_ale != actors.geoffrey and eat.club_sandwich != actors.geoffrey and drink.ginger_ale != eat.club_sandwich [clue] Of Erica\'s order, and the one that cost $5,80, one included a cheeseburger, and the other a water actors.erica == eat.cheeseburger and cost?water == 580 or actors.erica == drink.water and cost?cheeseburger == 580 [clue] The order with the ginger ale costs 45 cents more than the one with the tuna on rye cost?ginger_ale == cost?tuna_on_rye + 45 [clue] Samantha\'s club sandwich order costs $1,35 more than the order with the diet coke, which costs 45 cents less than the one with the orange soda actors.samantha == eat.club_sandwich and (cost?samantha == cost?diet_coke + 135) and (cost?diet_coke == cost?orange_soda - 45) [clue] The most expensive order was either Samantha\'s or the one with the Italian sub cost?samantha == 670 or cost?italian_sub == 670 [clue] Irene\'s order costs $5,35 cost?irene == 535 [clue] Chip\'s order costs $5,80 cost?chip == 580 ################################ separator ##################################### [title] Groot onderhoud [description] In de agenda van Heleen staan voor deze week allerlei afspraken gepland, die zij zelf al schertsend 'Groot onderhoud' noemt. Waar moet ze zoal naar toe ? uit: Logikwis collectie no. 72, p20-21 [actors] maa, din, woe, don, vri [tijdstip] 10, 11, 13, 14, 15 [afspraak] kapper, manicure, opticien, podotherapeut, tandarts [straat] akkerstraat, boordseweg, schietbergen, vangoghstraat, weverstraat [solution] ((1,3,2,0,4),(4,1,0,3,2),(1,0,3,4,2)) # size: 5 actors, 3 properties [clue] De afspraak in de Vincent van Goghstraat staat precies 23 uur na de afspraak bij de manicure gepland. tijdstip?manicure == tijdstip?vangoghstraat + 1 and (actors.maa == afspraak.manicure and actors.din == straat.vangoghstraat or actors.din == afspraak.manicure and actors.woe == straat.vangoghstraat or actors.woe == afspraak.manicure and actors.don == straat.vangoghstraat or actors.don == afspraak.manicure and actors.vri == straat.vangoghstraat) [clue] Op maandag gaat Heleen of naar de Boordseweg of naar de opticien. actors.maa == afspraak.opticien or actors.maa == straat.boordseweg [clue] De afspraak op vrijdag is om 15 uur. Ze gaat dan niet naar de Weverstraat, waar de podotherapeut is gevestigd. tijdstip?vri == 15 and actors.vri != straat.weverstraat and afspraak.podotherapeut == straat.weverstraat [clue] Heleen moet om 11 uur bij de tandarts zijn. tijdstip?tandarts == 11 [clue] Tijdens drie opeenvolgende dagen gaat ze eerst naar de Akkerstraat, vervolgens naar de kapper, en als laatste naar het adres waar zij om 10 uur wordt verwacht. actors.maa == straat.akkerstraat and actors.din == afspraak.kapper and tijdstip?woe == 10 or actors.din == straat.akkerstraat and actors.woe == afspraak.kapper and tijdstip?don == 10 or actors.woe == straat.akkerstraat and actors.don == afspraak.kapper and tijdstip?vri == 10 ################################ separator ##################################### [title] Disco Inferno [description] Toen Anja en Leo verkering kregen, eind jaren 70, gingen ze elke zaterdagavond dansen in de discotheek. Onlangs vonden ze nog een filmpje dat daar gemaaakt was. Niet alleen Anja en Leo waren daarop te zien, maar ook nog een heel stel vrienden van destijds. "O, die kleren", riep Anja, "het doet gewoonweg pijn aan je ogen. Maar de muziek vind ik nog steeds geweldig, hoor !" [actors] anja_en_leo, belinda_en_kamiel, carla_en_norbert, daphne_en_mark, els_en_joost [nummer] boogie_wonderland, disco_inferno, last_dance, le_freak, stayin_alive [jurkje] geel_bruin_rood, oranje_blauw_paars, oranje_roze_wit, paars_wit_groen, roze_groen_geel [discopak] blauw_groen, bruin_oranje, paars_goud, rood_geel, wit_zwart [solution] ((3,4,0,1,2),(4,0,3,1,2),(2,4,1,3,0)) # size: 5 actors, 3 properties [clue] Bij geen enkel stel komt in de kleding van beide partners een gelijke kleur voor 1 van 5 jurkje.geel_bruin_rood != discopak.bruin_oranje and jurkje.geel_bruin_rood != discopak.rood_geel [clue] Bij geen enkel stel komt in de kleding van beide partners een gelijke kleur voor 2 van 5 jurkje.oranje_blauw_paars != discopak.blauw_groen and jurkje.oranje_blauw_paars != discopak.bruin_oranje and jurkje.oranje_blauw_paars != discopak.paars_goud [clue] Bij geen enkel stel komt in de kleding van beide partners een gelijke kleur voor 3 van 5 jurkje.oranje_roze_wit != discopak.bruin_oranje and jurkje.oranje_roze_wit != discopak.wit_zwart [clue] Bij geen enkel stel komt in de kleding van beide partners een gelijke kleur voor 4 van 5 jurkje.paars_wit_groen != discopak.blauw_groen and jurkje.paars_wit_groen != discopak.paars_goud and jurkje.paars_wit_groen != discopak.wit_zwart [clue] Bij geen enkel stel komt in de kleding van beide partners een gelijke kleur voor 5 van 5 jurkje.roze_groen_geel != discopak.blauw_groen and jurkje.roze_groen_geel != discopak.rood_geel [clue] In de kleding van het stel dat danst op Le Freak komt onder andere de kleur paars voor nummer.le_freak == jurkje.oranje_blauw_paars or nummer.le_freak == jurkje.paars_wit_groen or nummer.le_freak == discopak.paars_goud [clue] Een stel danst op Boogie Wonderland. De naam van de jongen komt in het alfabet net na die van de jongen die een rood discopak met een geel overhemd draagt. ord(((actors?boogie_wonderland).split('_en_'))[1][:1]) == ord(((actors?rood_geel).split('_en_'))[1][:1]) + 1 [clue] De naam van het meisje komt net na die van het meisje dat werd gefilmd toen Stayin' Alive werd gedraaid ord(actors?boogie_wonderland[:1]) == ord(actors?stayin_alive[:1]) + 1 [clue] De paars-wit-groene outfit is van Carla actors.carla_en_norbert == jurkje.paars_wit_groen [clue] In de kleding van het stel dat danst op Last Dance komt de kleur bruin niet voor. nummer.last_dance != jurkje.geel_bruin_rood and nummer.last_dance != discopak.bruin_oranje #actors.carla_en_norbert == jurkje.paars_wit_groen [clue] De naam van de jongeman die zich uitleeft tijdens het nummer Disco Inferno telt evenveel letters als die van het meisje met het rooze-groen-gele jurkje len((actors?disco_inferno).split('_en_')[1]) == len((actors?roze_groen_geel).split('_en_')[0]) [clue] De naam van de jongen met de blauwe jumpsuit is een letter korter dan die van het meisje bij wie de kleur blauw ook in de kleding voorkomt. len(((actors?blauw_groen).split('_en_'))[1]) == len(((actors?oranje_blauw_paars).split('_en_'))[0]) - 1 ################################ separator ##################################### [title] School reunion [description] A 20-year reunion took place at Applebury High School this evening, and votes were taken on who would be crowned "King of the Reunion." Using only the clues below, match each %contestant to the sport he played in high school, the number of votes he received, and his current occupation. [actors] bert, nathaniel, omar, rudolph, wesley [occupation] dentist, doctor, lawyer, musician, waiter [sport] baseball, basketball, football, golf, soccer [votes] 4, 11, 18, 25, 32 [solution] ((1,4,3,2,0),(2,3,4,0,1),(4,0,1,2,3)) # size: 5 actors, 3 properties [clue] The soccer player received 7 votes fewer votes than the baseball player. votes?soccer == votes?baseball - 7 [clue] The contestant who got 4 votes never played football. votes?football != 4 [clue] Bert is either the doctor or the person who got 18 votes. actors.bert == occupation.doctor or votes?bert == 18 [clue] The waiter received fewer votes than the dentist. votes?waiter < votes?dentist [clue] Of the musician and the person who got 18 votes, one played baseball and the other is Omar. sport.baseball == occupation.musician and votes?omar == 18 or actors.omar == occupation.musician and votes?baseball == 18 [clue] Of the lawyer and the doctor, one received 32 votes and the other is Rudolph. votes?lawyer == 32 and actors.rudolph == occupation.doctor or actors.rudolph == occupation.lawyer and votes?doctor == 32 [clue] The contestant who got 25 votes, the lawyer, and the golf player are three different people. votes?lawyer != 25 and votes?golf != 25 and occupation.lawyer != sport.golf [clue] Nathaniel isn't the dentist. actors.nathaniel != occupation.dentist [clue] The dentist is either the golf player or the basketball player. occupation.dentist == sport.golf or occupation.dentist == sport.basketball [clue] Rudolph received 7 votes more votes than the soccer player. votes?rudolph == votes?soccer + 7 [clue] Omar didn't get a total of 4 votes. votes?omar != 4 ################################ separator ##################################### [title] De wind mee hebben [description] Het is november. Herfststormen teisteren ons land. Met name de mensen die elke ochtend op de fiets naar hun werk of naar school moeten, ondervinden hier last van. Ondanks de harde wind kwamen de onderstaande vijf fietsers vanmorgen allemaal veilig op de plaats van bestemming aan, alleen hadden ze er alle vijf wel wat langer of korter over gedaan dan normaal. Wie had de wind mee ? moeilijkheidsgraad: 4 (uit 5), uit: Logikwis collectie, nr. 5, p16, (c) Denksport [actors] chantal, hans, joep, marloes, remco [bestemming] kantoor, mbo, havo, winkel, fabriek [reistijd_normaal] 15, 20, 25, 30, 35 [reistijd_vandaag] 20, 25, 25, 30, 35 [solution] ((0,1,2,3,4),(2,4,1,0,3),(0,1,3,2,4)) # size: 5 actors, 3 properties #let op: het script geeft twee identieke oplossingen (vanwege twee identieke waarden in reistijd_vandaag) [clue] Het aantal minuten dat de havoleerling vandaag fietste, is gelijk aan het aantal minuten dat de fabrieksarbeider (m/v) onder normale weersomstandigheden nodig heeft reistijd_vandaag?havo == reistijd_normaal?fabriek [clue] Remco had wind tegen reistijd_vandaag?remco > reistijd_normaal?remco [clue] De kantoormedewerker had wind mee reistijd_vandaag?kantoor < reistijd_normaal?kantoor [clue] Remco was evenveel minuten langzamer als de kantoormedewerker (m/v) sneller was reistijd_vandaag?remco - reistijd_normaal?remco == reistijd_normaal?kantoor - reistijd_vandaag?kantoor [clue] Die kantoormedewerker heet niet Hans actors.hans != bestemming.kantoor [clue] Joep fiets vandaag 30 minuten reistijd_vandaag?joep == 30 [clue] Joep fietst naar school actors.joep == bestemming.mbo or actors.joep == bestemming.havo [clue] Een persoon zit elke ochtend precies een half uur op de fiets, maar vandaag deed hij 5 minuten langer over zijn route reistijd_normaal?hans == 30 and reistijd_vandaag?hans == 35 or reistijd_normaal?joep == 30 and reistijd_vandaag?joep == 35 or reistijd_normaal?remco == 30 and reistijd_vandaag?remco == 35 #(hans or joep or remco) == reistijd_normaal.30 and (hans or joep or remco) == reistijd_vandaag.35 [clue] Marloes deed er 10 minuten langer over dan normaal om op haar werk te komen reistijd_vandaag?marloes == reistijd_normaal?marloes + 10 [clue] De mbo-scholier (m/v) was 10 minuten sneller dan gewoonlijk' reistijd_vandaag?mbo == reistijd_normaal?mbo - 10 ################################ separator ##################################### [title] Lange mannen [description] Het basketbalteam van onze wijk probeert elk jaar buurtbewoners te overtuigen om lid te wordn van de vereniging. Dat moeten wel lange mannen zijn en die zijn niet even makkelijk te vinden. Zoek uit in welke jaren nieuwe spelers werden aangetrokknen, hoe de spelers heten, wat hu beroek is en hoe lang ze zijn. Uit: Denksport Logiquis collectie nr. 81, p.44-45 [actors] bram, henk, john, nico, piet [lengte_cm] 180, 185, 190, 195, 200 [beroep] ambtenaar, leraar, loodgieter, politieagent, postbode [speler_sinds] 2012, 2015, 2017, 2018, 2020 [solution] ((0,3,1,2,4),(4,1,3,2,0),(3,0,4,2,1)) # size: 5 actors, 3 properties [clue] Twee spelers van wie het beroep met dezelfde letter begint, schelen 5 cm in lengte, en zijn met 5 jaar verschil toegetreden. Piet is daar niet bij. ( (abs(lengte_cm?leraar - lengte_cm?loodgieter) == 5 and abs(speler_sinds?leraar - speler_sinds?loodgieter) == 5 and actors.piet != beroep.leraar and actors.piet != beroep.loodgieter) or (abs(lengte_cm?politieagent - lengte_cm?postbode) == 5 and abs(speler_sinds?politieagent - speler_sinds?postbode) == 5 and actors.piet != beroep.politieagent and actors.piet != beroep.postbode ) ) [clue] Twee spelers van wie het beroep met dezelfde letter begint, schelen 15 cm in lengte, en zijn met 2 jaar verschil toegetreden. Piet is daar niet bij. ( (abs(lengte_cm?leraar - lengte_cm?loodgieter) == 15 and abs(speler_sinds?leraar - speler_sinds?loodgieter) == 2 and actors.piet != beroep.leraar and actors.piet != beroep.loodgieter) or (abs(lengte_cm?politieagent - lengte_cm?postbode) == 15 and abs(speler_sinds?politieagent - speler_sinds?postbode) == 2 and actors.piet != beroep.politieagent and actors.piet != beroep.postbode ) ) [clue] Bram werd eerder lid dan de politieagent. De man van 1m85 kwam net voor Bram bij de club. speler_sinds?bram < speler_sinds?politieagent and (speler_sinds?185 == 2012 and speler_sinds?bram == 2015 or speler_sinds?185 == 2015 and speler_sinds?bram == 2017 or speler_sinds?185 == 2017 and speler_sinds?bram == 20185 or speler_sinds?185 == 2018 and speler_sinds?bram == 2020) [clue] John is 5 cm kleiner dan degene die in 2015 lid werd, maar 5 cm groter dan de leraar en dat is niet Nico lengte_cm?john == lengte_cm?leraar + 5 and actors.nico != beroep.leraar ################################ separator ##################################### [title] Vurige dansen [description] Tijdens een nieuwe tv-show mogen getalenteerde danskoppels laten zien hoe goed zij Latijns-Amerikaanse dansen beheersen. Tijdens elke aflevering staat een dans centraal. Welk stel werd tijdens elke uitzending door een vakkundig jury als beste beoordeeld ? (c) Denksport Logiquiz collectie nr. 74 p.60-61 [actors] argentijnse_tango, merengue, paso_doble, rumba, salsa [man] diego, edwin, jules, philip, ricardo [vrouw] danique, femke, inez, josefina, merel [datum] 23_aug, 30_aug, 6_sep, 13_sep, 20_sep [solution] ((0,4,3,2,1),(1,4,2,0,3),(3,0,4,2,1)) # size: 5 actors, 3 properties [clue] De merengue werd dor Ricardo gewonnen en de rumba door Danique. Dat was in twee verschillende maanden actors.merengue == man.ricardo and actors.rumba == vrouw.danique and (datum?merengue)[-3:] != (datum?rumba)[-3:] [clue] Philip won niet op 13 september man.philip != datum.13_sep [clue] Direkt voor de aflevering waarin Jules een staande ovatie kreeg, dansten alle paren de salsa, en een week later was de dans te zien waarin Femke de beste was. Deze uitzendingen vonden niet alle drie in dezelfde maand plaats (actors.salsa == datum.23_aug and man.jules == datum.30_aug and vrouw.femke == datum.6_sep) or (actors.salsa == datum.30_aug and man.jules == datum.6_sep and vrouw.femke == datum.13_sep) [clue] Merel won een van de wedstrijden. Meer dan een week later was Diego de beste (vrouw.merel == datum.23_aug and (man.diego == datum.6_sep or man.diego == datum.13_sep or man.diego == datum.20_sep)) or (vrouw.merel == datum.30_aug and (man.diego == datum.13_sep or man.diego == datum.20_sep)) or (vrouw.merel == datum.6_sep and man.diego == datum.20_sep) [clue] De argentijnse tango kwam niet op 6 september aan bod, maar wel een week eerder dan de dans die door Inez werd gewonnen (actors.argentijnse_tango == datum.23_aug and vrouw.inez == datum.30_aug) or (actors.argentijnse_tango == datum.30_aug and vrouw.inez == datum.6_sep) or (actors.argentijnse_tango == datum.13_sep and vrouw.inez == datum.20_sep) [clue] De aflevering waarin de paso doble centraal stond en de aflevering die door Edwin en Josefina werd gewonnen werden niet in dezelfde maand uitgezonden man.edwin == vrouw.josefina and datum?paso_doble[-3:] != datum?edwin[-3:] ################################ separator ##################################### [title] Stappen [description] Vijf vrienden gaan stappen, maar haken een voor een af, om verschillende redenen. Wat was die reden, en hoeveel liter bier had ieder op ? [actors] arjan, enno, koen, mark, michiel [tijd] 22, 23, 24, 25, 26 [reden] blauwtje_lopen, laatste_over, moe, overgeven, vriendin_belt [activiteit] dansen, karaoke, cafe, naar_huis, eten [bier] 3, 4, 5, 7, 9 [solution] ((4,0,3,1,2),(1,2,3,0,4),(3,0,1,4,2),(4,3,0,1,2)) # size: 5 actors, 4 properties [clue] deze clue volgt uit de context tijd?laatste_over == 26 [clue] Arjan weet niet meer hoeveel bier hij ophad, omdat hij als enigste overbleef, maar zijn vrienden denken minimaal 7 liter (actors.arjan == bier.7 or actors.arjan == bier.9) and (actors.arjan == reden.laatste_over) [clue] Koen haakte af toen Arjan een liedje mee ging zingen van Paul de Leeuw; helaas had Enno dit gemist actors.koen == activiteit.karaoke and tijd?koen < tijd?arjan and tijd?enno < tijd?koen [clue] Een van de vrienden moest overgeven na het drinken van 3 liter bier, maar niet tijdens het dansen bier?overgeven == 3 and reden.overgeven != activiteit.dansen [clue] Koen dronk minder dan Mark bier?mark > bier?koen [clue] Enno werd moe van het dansen, maar niet omdat hij meeste bier op had actors.enno == reden.moe and bier?enno != 9 [clue] Het bezoek aan het cafe volgde direkt op het eten tijd?cafe - tijd?eten == 1 [clue] Degene die een blauwtje liep ging niet als eerste naar huis, maar wel voordat andermans vriendin belde om naar huis te komen tijd?blauwtje_lopen > 22 and tijd?blauwtje_lopen < tijd?vriendin_belt [clue] degene die als derde afhaakte, had twee liter meer bier op dan degene die moest overgeven bier?24 == bier?overgeven + 2 [clue] koen en michiel haakten na elkaar af abs(tijd?koen - tijd?michiel) == 1 [clue] het dansen vond plaats voor het cafe bezoek, en dat voor de karaoke tijd?dansen < tijd?cafe and tijd?cafe < tijd?karaoke [clue] degene die afhaakte tijdens het eten, was een van de mindere drinkers bier?eten in [3, 4, 5] ################################ separator ##################################### [title] Gewoontes [description] Er zijn vijf huizen in vijf verschillende kleuren. In ieder huis woont iemand met een verschillende nationaliteit. De vijf personen drinken ieder iets verschillend, roken allemaal een ander type sigaar en hebben ieder een verschillend huisdier. Een iemand heeft een vis. De vraag is: wie? [actors] brit, zweed, deen, noor, duitser [positie] 1, 2, 3, 4, 5 [kleur] rood, groen, geel, wit, blauw [drank] thee, koffie, melk, bier, water [merk_sigaar] pall_mall, dunhill, blends, blue_master, prince [huisdier] honden, vogels, katten, paard, vis [solution] ((2,4,1,0,3), (0,3,4,2,1), (2,3,0,4,1), (0,3,2,1,4), (1,0,3,2,4)) # size: 5 actors, 5 properties [clue] De Brit woont in het rode huis actors.brit == kleur.rood [clue] De Zweed heeft honden als huisdier actors.zweed == huisdier.honden [clue] De Deen drinkt thee actors.deen == drank.thee [clue] Het groene huis staat naast en links van het witte huis positie?groen == positie?wit - 1 [clue] De eigenaar van het groene huis drinkt koffie kleur.groen == drank.koffie [clue] De man die Pall Mall rookt houdt vogels merk_sigaar.pall_mall == huisdier.vogels [clue] De eigenaar van het gele huis rookt Dunhill kleur.geel == merk_sigaar.dunhill [clue] De man die in het middelste huis woont drinkt melk positie.3 == drank.melk [clue] De Noor woont in het eerste huis actors.noor == positie.1 [clue] De man die Blends rookt woont naast degene die katten heeft abs(positie?blends - positie?katten) == 1 [clue] De man die een paard heeft woont naast degene die Dunhill rookt abs(positie?paard - positie?dunhill) == 1 [clue] De persoon die Blue Master rookt, drinkt bier merk_sigaar.blue_master == drank.bier [clue] De Duitser rookt Prince actors.duitser == merk_sigaar.prince [clue] De Noor woont naast het blauwe huis. abs(positie?noor - positie?blauw) == 1 [clue] De man die Blends rookt heeft een buurman die water drinkt. abs(positie?blends - positie?water) == 1 ################################ separator ##################################### [title] Woodworking [description] Seven woodworkers make a different product out of their favorite material. What is the price of the bench ? [actors] cherie, dianne, ellen, freda, nadine, tabitha, yvette [material] ash, chestnut, mahogany, oak, poplar, rosewood, sandalwood [product] barstool, bench, bookshelf, coffee_table, end_table, footstool, hutch [price] 250, 275, 300, 325, 350, 375, 400 [solution] ((2,5,1,3,6,0,4),(2,5,0,6,1,3,4),(3,5,4,0,1,2,6)) # size: 7 actors, 3 properties [clue] The item made of chestnut costs 50 dollars less than Yvette's piece price?chestnut == price?yvette - 50 [clue] The piece made of poplar costs 125 dollars more than the bench price?poplar == price?bench + 125 [clue] The coffee table wasn't made of mahogany product.coffee_table != material.mahogany [clue] The hutch wasn't made of ash product.hutch != material.ash [clue] The piece made of sandalwood costs less than Dianne's item. price?sandalwood < price?dianne [clue] The item made of ash costs less than Ellen's item. price?ash < price?ellen [clue] The $325 piece is either the bookshelf or the piece made of poplar. price?bookshelf == 325 or price?poplar == 325 [clue] Nadine's item costs more than the hutch. price?hutch < price?nadine [clue] The item made of rosewood costs 25 dollars more than the barstool. price?rosewood == price?barstool + 25 [clue] Cheri's item doesn't cost $250. price?cherie != 250 [clue] Of the barstool and the piece made of sandalwood, one costs $275 and the other was crafted by Ellen. (price?barstool == 275 and material.sandalwood == actors.ellen) or (product.barstool == actors.ellen and price?sandalwood == 275) [clue] The piece made of chestnut costs 75 dollars more than Nadine's item. price?chestnut == price?nadine + 75 [clue] Of Nadine's piece and the $375 item, one is the footstool and the other was made of sandalwood. (actors.nadine == product.footstool and price?sandalwood == 375) or (actors.nadine == material.sandalwood and price?footstool == 375) [clue] Dianne's piece wasn't made of mahogany. actors.dianne != material.mahogany [clue] The seven pieces are Tabitha's item, the $275 piece, the end table, the item made of rosewood, the piece made of chestnut, the piece made of mahogany and the $250 piece. price?tabitha != 275 and actors.tabitha != product.end_table and actors.tabitha != material.rosewood and actors.tabitha != material.chestnut and actors.tabitha != material.mahogany and price?tabitha != 250 and price?end_table not in [250,275] and product.end_table != material.rosewood and product.end_table != material.chestnut and product.end_table != material.mahogany and price?rosewood not in [250,275] and price?chestnut not in [250,275] and price?mahogany not in [250,275] ################################ separator ##################################### [title] Hardlopers [description] Er werden 7 hardloopwedstrijden georganiseerd. Elke wedstrijd startte in een andere plaats en ook de finish was in een andere plaats. Elke hardloper liep een andere afstand. Achterhaal welke hardloper welke afstand liep, en waar. [actors] amara, anita, gijs, karel, linda, peter, samantha [afstand] 8, 9, 10, 11, 12, 13, 14 [start] giethoorn, zwolle, lemelerveld, borne, lemele, sleen, vilsteren [finish] dalfsen, ommen, almelo, blokzijl, hasselt, raalte, emmen [solution] ((1,2,5,4,6,0,3),(2,3,5,4,1,6,0),(5,2,6,1,4,0,3)) # size: 7 actors, 3 properties [clue] karel liep 1 kilometer minder dan gijs afstand?karel == afstand?gijs - 1 [clue] de persoon die 12 km liep vertrok uit Lemele maar finishte niet in Raalte afstand?lemele == 12 and start.lemele != finish.raalte [clue] de wedstrijd die in zwolle startte eindigde in hasselt met een afstand van 14 km. Linda werd hier derde start.zwolle == finish.hasselt and afstand?zwolle == 14 and actors.linda == start.zwolle [clue] peter liep de kortste afstand, en startte niet in giethorn of borne, en eindigde niet in ommen afstand?peter == 8 and actors.peter != start.giethoorn and actors.peter != start.borne and actors.peter != finish.ommen [clue] amara liep 9 km en eindigde in raalte afstand?amara == 9 and actors.amara == finish.raalte [clue] gijs liep 1 km minder dan linda, maar 2 km meer dan samantha en startte in sleen (1/2) afstand?gijs == afstand?linda - 1 and afstand?gijs == afstand?samantha + 2 # deze clue werd in twee clues opgesplits tbv snelheid [clue] gijs liep 1 km minder dan linda, maar 2 km meer dan samantha en startte in sleen (2/2) actors.gijs == start.sleen [clue] de wedstrijd van 11 km startte in giethoorn afstand?giethoorn == 11 [clue] de wedstrijd die in lemelerveld startte, eindigde niet in almelo of ommen start.lemelerveld != finish.almelo and start.lemelerveld != finish.ommen [clue] in borne startte de wedstrijd die in almelo finishte en was 10 km lang start.borne == finish.almelo and afstand?borne == 10 [clue] gijs finishte in emmen, en niet in blokzijl, want daar finishte samantha actors.gijs == finish.emmen and actors.samantha == finish.blokzijl [clue] de kortste astand startte in vilsteren afstand?vilsteren == 8 ################################ separator ##################################### [title] Bennington Kennel Club [description] The Bennington Kennel Club is putting together a feature article on some of their past dog show winners. Match each dog to its breed and owner, and determine the year in which it won "Best in Show" [actors] anita, barbara, chester, douglas, elsie, fernando, ginger [dog_name] harley, max, molly, princess, samson, shadow, stella [breed] beagle, bulldog, chow_chow, dalmatian, great_dane, irish_setter, pekingese [year] 2006, 2007, 2008, 2009, 2010, 2011, 2012 [solution] ((3,5,0,2,6,1,4), (0,4,1,2,5,3,6), (2,5,6,1,4,0,3)) # size: 7 actors, 3 properties [clue] Fernando's dog is the dalmatian. actors.fernando == breed.dalmatian [clue] Barbara's dog won in 2011. year?barbara == 2011 [clue] Shadow won 2 years after Ginger's dog. year?shadow == year?ginger + 2 [clue] The bulldog won sometime after Molly. year?bulldog > year?molly [clue] Chester's dog won sometime after Shadow. year?chester > year?shadow [clue] Chester's dog isn't the irish setter. actors.chester != breed.irish_setter [clue] The dog that won in 2008 is either Fernando's dog or the beagle. year?fernando == 2008 or year?beagle == 2008 [clue] The dog that won in 2012 isn't Max. year?max != 2012 [clue] Fernando's dog won 1 year before Molly. year?fernando == year?molly - 1 [clue] Elsie's dog is either the dog that won in 2010 or the dog that won in 2011. year?elsie == 2010 or year?elsie == 2011 [clue] Douglas's dog is either Molly or the dog that won in 2012. actors.douglas == dog_name.molly or year?douglas == 2012 [clue] Princess won 2 years before the irish setter. year?princess == year?irish_setter - 2 [clue] Barbara's dog won 2 years after the pekingese. year?barbara == year?pekingese + 2 [clue] Ginger's dog is either Samson or the dog that won in 2008. actors.ginger == dog_name.samson or year?samson == 2008 [clue] Of Stella and Samson, one is the irish setter and the other won in 2009. actors.stella == breed.irish_setter and year?samson == 2009 or dog_name.samson == breed.irish_setter and year?stella == 2009 [clue] The great dane won sometime after Samson. year?great_dane > year?samson [clue] Neither Ginger's dog nor Chester's dog is the great dane. actors.ginger != breed.great_dane and actors.chester != breed.great_dane ################################ separator ##################################### #[title] Nieuwe aanplant #%beschrijving hi # #bomen] iep, populier, eik, beuk, berk, esdoorn #aantal] 3000, 3500, 4000, 4500, 5500, 6000 #volgorde] 1, 2, 3, 4, 5, 6 #gebied] 1, 2, 3, 4, 5, 6 # #[clue] De volgorde waarin de gebieden werden beplant, komt nergens overeen met de nummering op de kaart #iep.gebied != iep.volgorde and populier.gebied != populier.volgorde and eik.gebied != eik.volgorde and berk.gebied != berk.volgorde and esdoorns.gebied != esdoorns.volgorde #[clue] 2 ok #aantal.iep == 3000 #volgorde.aantal.6000 == volgorde.populier #[clue] 3 #gebied.eik == 2 #volgorde.beuk > volgorde.eik #gebied.eik > gebied.iep and aantal.eik < aantal.iep or gebied.eik > gebied.populier and aantal.eik < aantal.populier or gebied.eik > gebied.berk and aantal.eik < aantal.berk or gebied.eik > gebied.esdoorns and aantal.eik < aantal.esdoorns #[clue] 4 #gebied.1 == aantal.5500 #aantal.gebied.4 == aantal.berk + 500 #[clue] 5 #volgorde.esdoorns == 2 ##aantal.esdoorns < aantal.volgorde.4 #[clue] 6 #volgorde.5 == aantal.3500 #aantal.3500 != gebied.6 #aantal.3500 != volgorde.1 #volgorde.6 == aantal.3000 or volgorde.6 == aantal.4000 ################################ separator ##################################### #[title] Lot uit de loterij #{description] Bij een landelijke loterij kon een hoofdprijs van maar liefst 1 miljoen euro worden gewonnen. Niet gek dus dat er veel loten werden verkocht. Uiteindelijk viel de hoofdprijs op nummer XQ 34567. Vijf mensen hadden elk een lot waarop slechts een cijfer anders was. En helaas, dat was net niet genoeg. Moeilijkheidsgraad: 5 (uit 5). uit: Logikwis collectie, nr. 72, p56-57, © Denksport # #[voornaam] casimir, joop, lucy, moniek, roel #[achternaam] jammers, malcontent, pechman, strop, zeper #[cijfer_op_lot] 1, 3, 5, 7, 9 #Moest_zijn] 3, 4, 5, 6, 7 #[oplossing] ((4, 1, 3, 0, 2), (0, 2, 4, 1, 3), (4, 1, 2, 3, 0)) # #[clue] Het lot met nummer XQ 34537 was niet van Lucy' #cijfer_op_lot?lucy != 3 and cijfer_op_lot?3 == 6 # #[clue] Joop Malcontent was de enige bij wie het foutieve cijfer op het lot slechts een hoger of lager was dan het cijfer dat er eigenlijk had moeten staan' #joop==malcontent and cijfer_op_lot.joop - moest_zijn.joop in [-1, 1] #cijfer_op_lot.casimir - moest_zijn.casimir not in [-1, 1] #cijfer_op_lot.lucy - moest_zijn.lucy not in [-1, 1] #cijfer_op_lot.moniek - moest_zijn.moniek not in [-1, 1] #cijfer_op_lot.roel - moest_zijn.roel not in [-1, 1] # #[clue] Een deelnemer had een lot waarop geen van de cijfers een 7 was. Bij een andere deelnemer het cijfer juist twee keer voor. Een van hen beiden heet Casimir, de ander heet Pechman' #cijfer_op_lot.casimir != 7 and moest_zijn.casimir == 7 or cijfer_op_lot.pechman != 7 and moest_zijn.pechman == 7 #cijfer_op_lot.casimir == 7 or cijfer_op_lot.pechman == 7 # #[clue] Het cijfer 9 kwam niet voor op het lot van Zeper' #cijfer_op_lot.zeper != 9 # #[clue] Het foute cijfer op het lot van Roel was 4 hoger dan dat op het lot van Jammers' #cijfer_op_lot.roel == 4 + cijfer_op_lot.jammers # #[clue] Het cijfer dat helaas niet op het lot van Moniek stond, was een hoger dan het cijfer dat bij Strop ontbrak' #moest_zijn.moniek == 1 + moest_zijn.strop ################################ separator ##################################### #[title] Inbraak #%Kort na een inbraak hield de politie zes mogelijke daders aan. Gelukkig #%meldde zich een getuige die een goed signalement van de inbreker kon geven. #%Weet u welke vijf mannen weer mochten vertrekken en wie nog een tijdje #%langer van de gastvrijheid van de politie mocht genieten? #%uit: Logikwis 4-5* collectie, nr.81, p38-39 #naam] charrel, daan, koos, leo, lowie, rudie #lengte] 170, 170, 185, 185, 200, 200 #postuur] slank, slank, normaal, normaal, vol, vol #leeftijd] 20, 20, 35, 35, 50, 50 # #[clue] Twee verdachten hebben nooit meer dan een gezamenlijk kenmerk. #[clue] Daan, die 15 cm langer is aan Koos, is even oud als de dader. #lengte.daan == lengte.koos + 15 #[clue] Lowie, die 15 jaar jonger is dan Koos, heeft hetzelfde postuur als de dader #leeftijd.lowie == leeftijd.koos - 15 #[clue] Leo is dunner dan Koos. Hij is even lang als de dader. #leo == slank and koos == normaal or leo == slank and koos == vol or leo == normaal and koos == vol #[clue] Een van de mannen is 50 jaar oud, 1m85 lang, en heeft een normaal postuur. Zijn naam is niet Rudie. #leeftijd.50 == lengte.185 and normaal == lengte.185 and rudie != normaal #[clue] Volgens de getuige zijn de twee mannen met een vol postuur kleiner dan de inbreker #[clue] De twee mannen met een normaal postuur voldoen niet aan het signalement, omdat zij allebei te oud zijn. ################################ separator ##################################### #[title] Een filmpje pakken #%Als Thijs van de Stroom een film wil zien, blijft hij gewoon thuis, #%want hij is geabbonneerd op diverse streamingdiensten die allemaal #%en uitgebreid aanbod aan films hebben. #%Omdat er zoveel titels zijn om uit te kiezen, keek hij vorige week #%iedere avond naar een andere film. #dag] maandag, dinsdag, woensdag, donderdag, vrijdag #film] circular_logic, foolproof, lean_meat, loose_ends, nothing_beyond #genre] actie, komedie, romantisch, thriller, western #hoofdrol] angela_greenscreen, charlene_match, ethan_morphe, patrick_slidscan, robert_tracking # #[clue] De film wordt aangebode voor bullet # ################################ separator #####################################