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

 Prisoner's Visitors Problem (Posted on 2009-01-21)
There are 60 records given to you which correspond to a prisoner who is imprisoned for 60 days. He has 6 relatives one of whom visits him daily and the others visit him every ith day from the day of his imprisonment (i=2,3,4,5,6 for these 5 relatives).
Every record is sealed with the day number on it which indicates the number of days he is jailed when the record is filed with the names of visitors on that particular day. You have to make a new record which should be filled with the following details:

visitor name - number of visits after 60 days

Assume that no other relatives visited him at all, names of these 6 relatives are different and you don't know their names. Find the minimum number of records that need to be checked to make the new record correctly. Find the number of ways you can choose the minimum number of records and you can still make the new record correctly.

 See The Solution Submitted by Praneeth Rating: 4.0000 (1 votes)

 Subject Author Date computer calculation Charlie 2009-01-22 03:38:04 re: (all solutions) UNCURSED! thanks Daniel 2009-01-22 00:27:44 (all solutions) UNCURSED! Steve Herman 2009-01-22 00:13:50 program code Daniel 2009-01-21 22:22:03 (all solutions) (sign of the beast) Daniel 2009-01-21 22:19:13 better idea (spoiler, part I) Steve Herman 2009-01-21 21:11:39 initial idea Daniel 2009-01-21 15:52:15

 Search: Search body:
Forums (0)