One day, Cheryl and Betty list down possibilities for their birthday dates.
By some strange coincidence, they wrote the same possibilities for their birthday dates.
They were
Jun 4 | Jun 6 | Jun 8 | |
Jul 4 | Jul 5 | Jul 6 | Jul 8 |
Aug 4 | Aug 5 | Aug 7 | Aug 9 |
Sep 3 | Sep 5 | Sep 7 | Sep 10 |
Cheryl then told Betty the day of month of her birthday.
Betty told Cheryl the month of her birthday.
Cheryl: "I know that Betty does not know my birthday."
Betty: "Cheryl does not also know my birthday and my birthday is not on Sep 5."
Cheryl: "You gave me redundant information and my birthday is not on Aug 7."
Betty: "Now I know your birthday and the day of the month of my birthday is a prime number."
Cheryl: "Now I know your birthday."
What is the difference (in days) between Betty's and Cheryl's birthday? (both dates inclusive).
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let us first construct the tables for possibilities for their birthday dates
June 4 July 4 August 4 September 3 June 6 July 5 August 5 September 5 June 8 July 6 August 7 September 7 July 8 August 9 September 10 Cheryl’s possible birthday dates June 4 July 4 August 4 September 3 June 6 July 5 August 5 September 5 June 8 July 6 August 7 September 7 July 8 August 9 September 10 Betty’s possible birthday dates
We are told that Cheryl told Betty the day of the month of her birthday, and Betty told Cheryl the month of her birthday.
Cheryl then started off by claiming that Betty does not know her birthday. This tells us that day of the month written in the table for Cheryl's birthday isn't unique and thus has been written at least twice. This tells us that we can cancel out the dates whose day of the month only appears once (from Cheryl's possible dates):
June 4 July 4 August 4 September 3 June 6 July 5 August 5 September 5 June 8 July 6 August 7 September 7 July 8 August 9 September 10 Cheryl’s possible birthday dates June 4 July 4 August 4 September 3 June 6 July 5 August 5 September 5 June 8 July 6 August 7 September 7 July 8 August 9 September 10 Betty’s possible birthday dates
However, with Betty's reply, we can only cancel out 5 th of September from the list of Betty's possible birthday dates as illustrated below:
June 4 July 4 August 4 September 3 June 6 July 5 August 5 September 5 June 8 July 6 August 7 September 7 July 8 August 9 September 10 Cheryl’s possible birthday dates June 4 July 4 August 4 September 3 June 6 July 5 August 5 September 5 June 8 July 6 August 7 September 7 July 8 August 9 September 10 Betty’s possible birthday dates
Afterwards, Cheryl still claims that she doesn't know Betty's birthday but she pointed out that her Birthday isn't on 7 th of August, updating Chery'ls possible bithday dates gives:
June 4 July 4 August 4 September 3 June 6 July 5 August 5 September 5 June 8 July 6 August 7 September 7 July 8 August 9 September 10 Cheryl’s possible birthday dates June 4 July 4 August 4 September 3 June 6 July 5 August 5 September 5 June 8 July 6 August 7 September 7 July 8 August 9 September 10 Betty’s possible birthday dates
Following Cheryl's remark, Betty is able to determine Cheryl's birthday. This tells us that there are only one day of the month which isn't used twice, and the only possible solution to this is Cheryl’s birthday is on September 7 .
Betty then made another claim that the day of the month of her birthday is a prime number. Among the number { 3 , 4 , 5 , 6 , 7 , 8 , 9 , 1 0 } , only 3 , 5 and 7 are prime numbers. Thus we are able to cancel out plenty of possible dates from Betty's list:
June 4 July 4 August 4 September 3 June 6 July 5 August 5 September 5 June 8 July 6 August 7 September 7 July 8 August 9 September 10 Betty’s possible birthday dates
In the end, Cheryl is also able to figure out Betty's birthday. This tells us that there is only one month which isn't used twice, and the only possible solution to this is Betty’s birthday is on July 5 .
So the total number of days between Betty's and Cheryl's birthday (both dates inclusive) is
Total number of days in July except the first 4 days of July + total number of days in August + first 7 days of September = ( 3 1 − 4 ) + 3 1 + 7 = 6 5 .