Show hint
Add the two counts, then subtract the numbers counted twice (multiples of the LCM).
Numbers divisible by both are multiples of LCM(4, 9) = 36: 18. They were counted twice.
Divisible by 4 or 9: 164 + 73 − 18 = 219.
Answer: 219
Advanced Mathematical Challenges · Exercise 4 of 6
Number theory and counting challenges: remainders, divisors, the locker puzzle, staircases, grid routes, the Josephus circle and the hat-check puzzle. Every answer was checked by brute force.
Add the two counts, then subtract the numbers counted twice (multiples of the LCM).
Binary place values are 1, 2, 4, 8, 16, 32, 64, 128 from the right.
Type a number and press Enter, or tap Check.
Find the first and last whole numbers whose square (or cube) lies in the range.
Type a number and press Enter, or tap Check.
HCF × LCM = the product of the two numbers.
Add the two counts, then subtract the numbers counted twice (multiples of the LCM).
Type a number and press Enter, or tap Check.
Binary place values are 1, 2, 4, 8, 16, 32, 64, 128 from the right.
Find the first and last whole numbers whose square (or cube) lies in the range.
HCF × LCM = the product of the two numbers.
Type a number and press Enter, or tap Check.
Add the two counts, then subtract the numbers counted twice (multiples of the LCM).
Type a number and press Enter, or tap Check.
Binary place values are 1, 2, 4, 8, 16, 32, 64, 128 from the right.
Timed online tests with instant scores and explanations.