Enigmatics

Enigma 1464

Posted on: Tuesday 11/27, 2007;  8:38 PM

Generate a list of leap years in the 20th century during which the births can occur. The year 1900 is excluded because it was not a leap year.

"BE3405184711_1.gif"

"BE3405184711_2.gif"

Generate a list of all days during the above leap years in {yyyy, mm, dd} format.

"BE3405184711_3.gif"

"BE3405184711_4.gif"

Convert this list of days into DDMMYY format.

"BE3405184711_5.gif"

"BE3405184711_6.gif"

Select the cases which are square days.

"BE3405184711_7.gif"

"BE3405184711_8.gif"

Split this list into sublists for each year.

"BE3405184711_9.gif"

"BE3405184711_10.gif"

Select the cases that have 6 or more different square days.

"BE3405184711_11.gif"

"BE3405184711_12.gif"

Split the list of square days into sublists for each month.

"BE3405184711_13.gif"

"BE3405184711_14.gif"

Select from all of the cases with 6 or more square days only those for which there is but a single square day in that month. These are the cases where the birth and death days are forced to lie in different months. There is one case that satisfies this criterion, which is thus the grandfather's date of birth.

"BE3405184711_15.gif"

"BE3405184711_16.gif"

Permalink   Notebook

Recent Posts
11/27, 2007; 8:19 PM:
Enigma 1460
11/27, 2007; 8:14 PM:
Enigma 1459
11/27, 2007; 8:09 PM:
Enigma 1458
11/27, 2007; 7:42 PM:
Welcome

Archive


Links

 

Blogged from
A WorkLife FrameWork by
Scientific Arts

All material on this website Copyright © 2007, Stephen Luttrell.