A primary school math teacher gave her class the following problem.
The blanks have to be filled with the natural numbers to , with no repetitions.
All students are aware of the concepts of addition, subtraction, multiplication, division and the order of operations. However, they are yet to be introduced to the concept of fractions.
Every student in the class came up with a valid solution. However, no two solutions were the same. What is the maximum number of students in the class?
HINT : Since the students are unaware of fractions, none of the solutions would involve operations that result in fractions, when the operations are performed left to right.
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.
In order to explain the solution, let us label the missing numbers as n 1 , ⋯ , n 9 . Thus, the problem statement can be expressed as :
n 1 + n 2 + 1 3 × n 4 n 3 + 1 2 × n 5 + n 8 n 6 × n 7 − n 9 = 8 7
With the condition that all the n i are distinct and lie between 1 and 9.
It can also be noticed that :
(i) If n 1 = a , n 2 = b , n 3 , ⋯ , n 9 is a solution, n 1 = b , n 2 = a , n 3 , ⋯ , n 9 is also a solution.
(ii) Similarly, n 6 and n 7 are also interchangeable.
Performing an exhaustive search would give 128 distinct solutions to the problem.
However, many of them lead to fractions during the division operations.
Eg :
4 + 1 + 1 3 × 6 9 + 1 2 × 5 + 2 7 × 3 − 8 = 8 7
Restricting to solutions with a condition that n 3 divides n 4 leads to 5 sets of 4 solutions (resulting from the interchange of n 1 and n 2 AND n 6 and n 7 )
Each of the above lines represents 4 valid solutions which can be generated by interchanging the numbers in either of the brackets.
Thus, there would be 2 0 solutions (max. number of students)