Mr and Mrs Tan were once asked to guess which number their only daughter, Brenda, likes. Their four sons, Charles, Darius, Alfred and Eric, however know Brenda's favourite number. The five children each wrote a true statement and a false statement about the mystery number:
Charles:
The number is divisible by 6.
The number is not greater than 100.
Darius:
The number is a perfect square.
The units digit of the number exceeds its tens digit by a prime number.
Brenda:
The number is divisible by 3.
There is at least one even digit in the number.
Alfred:
It is a prime number.
The digit sum of the number is 7.
Eric:
The number is greater than 30.
The number has a composite number of factors.
Assuming the number is a positive integer, can you help Mr and Mrs Tan? What is Brenda's favourite number?
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.
Assume the number is divisible by 3. Then either the number is 3 itself which is a prime or a composite number. For the former, we see a problem with Eric's statements. 3 is not greater than 30 and 3 has only two factors and two is non-composite which means both of Eric's statements are false. For the latter, we see a problem with Alfred's statements. A composite number is never prime and it is impossible for a multiple of 3 to have a digit sum of 7 (a non-multiple of 3). So both of Alfred's statements are false.
This means the mystery number cannot be divisible by 3. So statement 1 made by Brenda is false which means her statement 2 must be true. The number must have at least an even digit. Looking at Charles' statements, we see that a non-multiple of 3 is definitely not divisible by 6 since 6 is divisible by 3. Since Charles' statement 1 is false, his statement 2 is true. This means the number is at most 100.
Now assume the digit sum is 7. We have 7, 16, 25, 34, 43, 52, 61 and 70 as possibilities. This means the number cannot be prime. Hence we eliminate 7, 43 and 61. If the number is 16 or 25, we have a problem with Darius' statements as these are square numbers whose digits differ by a prime number. If the number is 34, 52 or 70, we have a problem with Eric's statements as these numbers are greater than 30 and each have a composite number of factors. Hence the number cannot have a digit sum of 7.
Since Alfred's statement 2 is false, his statement 1 is true. So the number is prime. This invalidates Darius' statement 1 as primes are never squares. This means the digits of the number differs by a prime. Looking at Alfred's statements, the number doesn't have a digit sum of 7. Considering Eric's statements, a prime has two factors which invalidates his statement 2. Hence the number is greater than 30. By elimination, the only prime which satisfies all the descriptions is 47.
Hence Brenda likes the number 4 7 !!!