In Farmer Stone's hay loft, there were several animals, in particular birds, mice, and cockroaches.
One day, feeling bored, I decided to count the animals. I found there were exactly 150 feet and 50 heads in total, and there were twice as many cockroaches as mice.
Each empty white square in the grid contains one of the numbers 1, 2, 3, …, 8. Each of the horizontal and vertical equations must be true, and each number must be used exactly once.
Hint
What's a mathematical way to describe placing a 9 at the beginning?
Answer
23,076.
Reasoning
Placing the 9 at the beginning is equivalent to adding 900,000 (for example, 12,345 + 900,000 becomes 912,345).
Placing the 9 at the end is equivalent to multiplying by 10 and adding 9 (for example, 12,345 x 10 + 9 becomes 123,459).
Let's call the unknown number k, and we know that one of these numbers is 4 times the other, so:
k + 900,000 = 4 x (10k + 9)
k + 900,000 = 40k + 36
900,000 – 36 = 40k – k
899,964 = 39k
899,964 ÷ 39 = k
Therefore, k = 23,076.
Double-Checking 923,076 = 4 x 230,769.
Note: BrainBashers has a Dark Mode option. For BrainBashers, I'd recommend not using your browser's built-in dark mode, or any dark mode extensions (sometimes you can add an exception for a specific website).