On an island, there is this strange pattern - boys always lie while girls always tell the truth. Now you encounter five children.
The oldest one says, "The number of boys among us is an odd number."
The second one says, "The number of boys among us is an even number."
The middle one says, "The number of boys among us is a prime number."
The fourth one says, "The number of boys among us is a composite number."
The youngest one says, "The number of boys among us is a perfect square."
Convert the five children to a number based on their order of birth. Then submit your answer as the sum of the numbers of the boys only . For example, if you think only the youngest child is a boy, then your answer is 5. If you think only the middle three children are boys, then your answer is 2+3+4=9.
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.
Look at the statements made by the two oldest ones. One must be true, the other false. So one of the must be a boy, the other a girl. Similarly, considering the statements made by the middle and youngest child, one must also be true, the other false as a prime number is never a perfect square. Similarly, a perfect square is never a prime. So we have another pair of a boy and a girl.
Now we have at least two boys and at least two girls. This means the number of boys is either two or three. Whichever way, it is true that the number of boys is prime since two and three are both primes. Hence the middle child must be a truth teller and hence a girl. A prime number of boys is definitely not composite or a perfect square so the two youngest are both liars and hence boys.
So we have the middle child a girl with her two younger brothers. Her two elder siblings must consist of an elder brother and an elder sister. Whichever way we know we will end up with three boys so the oldest one is telling the truth (and hence a girl) while the second one is lying (and hence a boy).
We have girl, boy, girl, boy, boy. Our desired answer is 2+4+5=11.