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

Home > Logic
Prisoner's Visitors Problem (Posted on 2009-01-21) Difficulty: 3 of 5
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)

Comments: ( You must be logged in to post comments.)
  Subject Author Date
Solutioncomputer calculationCharlie2009-01-22 03:38:04
re: (all solutions) UNCURSED! thanksDaniel2009-01-22 00:27:44
Solution(all solutions) UNCURSED!Steve Herman2009-01-22 00:13:50
program codeDaniel2009-01-21 22:22:03
Solution(all solutions) (sign of the beast)Daniel2009-01-21 22:19:13
Solutionbetter idea (spoiler, part I)Steve Herman2009-01-21 21:11:39
initial ideaDaniel2009-01-21 15:52:15
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (7)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2017 by Animus Pactum Consulting. All rights reserved. Privacy Information