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

 Arabian Nights (Posted on 2007-02-06)
After 1001 nights, the Great King of Persia, Shahryar, decided not to execute Queen Sheherazade if she passed one final test. The King had 24 children under the age of 10 with an even number of children for each age.

He ordered that 24 chairs be put along the wall. Each time he put a child in an empty chair, Sheherazade was to put a child in any other empty chair. After all the children were placed, the 24 digit number formed by their ages had to be divisible by 1001.

Can you help Sheherazade to stay alive?

 No Solution Yet Submitted by Art M Rating: 2.5000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
 Solution Comment 2 of 2 |
Divide the 24-digit number into 8 3-digit numbers.  Since there is an even number of each digit (2,4,6, & 8), group the digits into four matching pairs of 3-digit numbers.  Group the pairs so that the 1st 3-digit number matches the last, the second matches the seventh, the third matches the sixth, and the forth matches the fifth.  This will ensure that the 24-digit number is divisible by 1001.
 Posted by hoodat on 2007-02-06 15:02:09

 Search: Search body:
Forums (0)