All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars
 perplexus dot info

 Fair Fairy Fare (Posted on 2009-12-10)
In a fairy tale, the fairy grandmother has assured the queen that her yet unborn baby prince will not die until the following set of conditions is fulfilled.

A scroll shall be prepared, and on the day of the birth and every subsequent birthday, a letter of the Greek alphabet from Α to Ω inclusively, chosen at random with replacement, shall be entered on the scroll. On the day that all the 24 distinct letters from Α to Ω of the alphabet appears, the prince will die.

Determine the expectation of the prince's life in years.

 No Solution Yet Submitted by K Sengupta Rating: 3.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
 the exact calculation | Comment 2 of 4 |

list
10   for I=23 to 1 step -1
20   T=T+24//I
30   next
40   print T,T/1
OK

run
1332950097//14872858    89.6229962660841648592

that is

1332950097/14872858 years  ~= 89.6229962660841648592 years

 Posted by Charlie on 2009-12-10 18:48:17

 Search: Search body:
Forums (2)