If each term in the sum a1 + a2 + a3...+ an is either 7 or 77 and the sum equals 350, which of the following could be n?
A) 38
B) 39
C) 40
D) 41
E) 42
The way I solved this is:
7x + 77y = 350 (where x = number of 7's and y = number of 77s)
7(x + 11y) = 350
x + 11y = 50
You also know that x + y = n.
If you subtract the two equations you will get: 10y = 50 - n
Since y MUST be an integer, the only possible options of n = 10, 20, 30, 40, etc....
Is there a better way of solving this question? I did not think of this during the exam...but am thinking there may be an easier way with better logic.
Any input?
Thanks!