Home > Logic
|Centenarians (Posted on 2017-06-29)
Zebulon turned 100 last month. Four of his friends will turn 100 in the first four months of next year. Using the clues below, can you figure out each one's full name, date of the month and month of his birthday?
- Charlie's birthday occurs three days earlier in its month than that of Mr. Hearst in his month. Mr. Hearst in turn will be celebrating in the month before the man whose birthday falls on the 12th of its month.
- Dan Brown's birthday is on an earlier date of month than that of the man whose birthday is in January, but on a later date of the month than that of the man whose birthday is in April.
- Bill's birthday comes earlier in the year than Mr. Wilson's.
Each man was born in a different one of the first four months of the year. The dates of the months are the 12th
. And one of the friends is named Alan. One of the friends (not necessarily the same one) has the last name Long.
From Large Print Logic Puzzles, Chartwell Books, New York, 2011.
program solution (turbator,interventor)
Comment 1 of 1
Charlie Long, the 19th of January
Dan Brown, the 16 of February
Bill Hearst, the 22nd of March.
Alan Wilson, the 12th of April.
| ?- solution(S).
S = [ (charlie,long,19,1),
B is C-3,
D is H-1,
member(X,[_|R]) :- member(X,R).
Posted by ollie
on 2017-06-29 14:54:55
Please log in:
About This Site
New Comments (4)
Top Rated Problems
This month's top
Most Commented On