wu :: forums (http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi)
riddles >> medium >> Council and Assignment Puzzle
(Message started by: K Sengupta on Dec 1st, 2009, 10:02am)

Title: Council and Assignment Puzzle
Post by K Sengupta on Dec 1st, 2009, 10:02am
On the island of Numeria each of the natives is one of two types: Truth-Tellers who always tell the truth, or Liars who never tell the truth. The island is governed by a Council of Elders who will only answer questions that have numerical answers. In fact the only answers they give are whole numbers, either zero or positive. Furthermore, they will never give an answer greater than the current number of council members. This number can vary daily, but is never less than 4 or more than 40. Also, the Council will only answer questions whose correct answer is independent of who is asked (e.g., no questions such as "How old are you?").

One day three native students, Ann, Bob, and Cal, were given an assignment by their teacher to question the council. They each asked a question, which was answered by every council member. Afterward they reported to their teacher and made the following statements:

(1) Ann: I asked the council how many of them were Truth-Tellers.

(2) Bob: I asked the council how many of them were Liars.

(3) Cal: Those statements are not both true!

(4) Ann: All of the answers I received were different.

(5) Bob: All of the answers I received were different.

(6) Cal: At least two of my answers were different.

(7) Ann: The sum of my answers is a palindrome.

(8) Bob: The sum of my answers is a palindrome.

(9) Cal: The square root of the sum of my answers is not less than the number of council members.

What was the number of council members on that day?


Title: Re: Council and Assignment Puzzle
Post by ThudanBlunder on Dec 1st, 2009, 1:51pm
Does 3) claim that 1) and/or 2) is false? Actually, both Cal's statements and his answers seem to be pretty useless.




Title: Re: Council and Assignment Puzzle
Post by ThudanBlunder on Dec 1st, 2009, 4:21pm
[hide]1 truth teller and 9 liars seems to work, giving a palindrome of 55.[/hide]

Title: Re: Council and Assignment Puzzle
Post by Vondell on Dec 1st, 2009, 9:36pm

on 12/01/09 at 13:51:14, ThudanBlunder wrote:
Does 3) claim that 1) and/or 2) is false? Actually, both Cal's statements and his answers seem to be pretty useless.
Don't forget that they are natives and [hide]Cal's answers determine that he is a Liar since they contradict each other which means that Ann and Bob are Truth-Tellers.  So, I agree that it must be 1 Truth-Teller and 9 Liars (55) since that is the only way to get all different answers.[/hide]

Title: Re: Council and Assignment Puzzle
Post by ThudanBlunder on Dec 2nd, 2009, 1:44am
But what about the fact that they never answer less than 4?

Title: Re: Council and Assignment Puzzle
Post by towr on Dec 2nd, 2009, 3:09am

on 12/02/09 at 01:44:57, ThudanBlunder wrote:
But what about the fact hat they never answer less than 4?
They can answer less than 4. The number of council members can't be less than four, and they won't answer a number greater than the number of council members, but less is allowed.

Title: Re: Council and Assignment Puzzle
Post by SMQ on Dec 2nd, 2009, 9:54am
Let's take this from the top:
- [hide](6) and (9) cannot both be true.  Therefore Cal is a Liar, and (3), (6) and (9) must all be false.[/hide]
- [hide](3) false implies (1) and (2) are both true, therefore Ann and Bob are both Truth-Tellers and (4), (5), (7) and (8) are all true.[/hide]
- [hide](6) false implies Cal's answers were all the same.  Therefore the Council was composed of either all Truth-Tellers or all Liars.[/hide]
- [hide](4) and/or (5) true implies the council was not composed of all Truth-Tellers.  Therefore the Council was composed of all Liars.[/hide]
- [hide]A Liar could not answer 0 to Ann's question nor N (the number of council members) to Bob's question.  Therefore Ann's answers must have been {1, 2, ..., N-1, N} while Bob's answers must have been {0, 1, ..., N-2, N-1}.[/hide]
- [hide]For N between 4 and 40, the only palindromic sums are:[/hide]
 [hide]N = 10: sum to N = 55[/hide]
 [hide]N = 11: sum to N = 66[/hide]
 [hide]N = 34: sum to N = 595[/hide]
 [hide]N = 36: sum to N = 666[/hide]
- [hide]The only consecutive palindromes are 55 and 66.  Therefore there were 11 council members, all Liars.[/hide]

--SMQ

Title: Re: Council and Assignment Puzzle
Post by SMQ on Dec 2nd, 2009, 11:56am

on 12/02/09 at 11:28:06, Vondell wrote:
For statements 6 and 9, one of them MUST be true.

How do you figure?  If the Council is homogeneous (all Truth-Tellers or all Liars) they could all have given the same answer, thus (6) can be false.  Only if that answer is equal to the number of council members would (9) be true, but there's nothing which forces that to be the case.  They could have all answered "zero" for all we're told.

--SMQ

Title: Re: Council and Assignment Puzzle
Post by Vondell on Dec 2nd, 2009, 1:14pm
A misfiring of the synapses.  I was still going off of the previous answer of a mix of Lie and Truth(rookie mistake   :-[ )  I deleted my other posts to avoid confusion.

[hide]But, with the council being all Liars...couldn't the answer be 1 greater than any of your palindromic totals?  (0 -> n-1) [/hide]

Title: Re: Council and Assignment Puzzle
Post by ThudanBlunder on Dec 3rd, 2009, 5:48am

on 12/01/09 at 21:36:44, Vondell wrote:
Don't forget that they are natives and [hide]Cal's answers determine that he is a Liar since they contradict each other which means that Ann and Bob are Truth-Tellers.  So, I agree that it must be 1 Truth-Teller and 9 Liars (55) since that is the only way to get all different answers.[/hide]

Yeah, at the time I hadn't realized that Ann, Bob, and Cal are also potential Liars. I should have read the problem more carefully.

Anyway, an excellent problem.


Title: Re: Council and Assignment Puzzle
Post by SMQ on Dec 3rd, 2009, 6:02am

on 12/02/09 at 13:14:58, Vondell wrote:
[hide]But, with the council being all Liars...couldn't the answer be 1 greater than any of your palindromic totals?  (0 -> n-1) [/hide]

[hide]The true answer to Ann's question, "how many of you are Truth-Tellers," is zero, so none of the All-Liar Council could answer zero. And since the answers she received were all different they myst have been 1, 2, ..., N.  At the same time, the true answer to Bob's question, "how many of you are Liars," is N, so none of the All-Liar Council could answer N.  And since the answers he received were all different, they must have been 0, 1, ..., N-1.  Both of these totals have to be palindromes, and the only possibility for that is N = 11, giving Ann a total of 66 and Bob a total of 55.
[/hide]
--SMQ

Title: Re: Council and Assignment Puzzle
Post by Vondell on Dec 3rd, 2009, 9:08am
Forgot about that.  Yet another oversight on my part.  Good work, though.    ;D



Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board