Calvin chooses ten consecutive two-digit numbers and calculates their sum, which has consecutively increasing digits (for example, 567).
Find the greatest of those ten consecutive two-digit numbers.
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.
Great observation about the last digit! That immediately tells us that the sum must be 345.
I've tidied up the solution slightly to make it easier to read through.
I missed the basic logic that finding one of the digits would completely define the sum. Thanks for the solution.
We know the formula for summing integers 1 to n as f ( n ) = n ( n + 1 ) / 2 .
Suppose that the greatest number is m. Then the smallest number among them would be (m-9). So their sum equals (sum from 1 to (m-10)) minus (sum from 1 to m). So we can write:
S = f ( m ) − f ( m − 1 0 ) which on simplifying gives S = 1 0 m − 4 5 .
Now, S = 1 0 0 a + 1 0 ( a + 1 ) + ( a + 2 ) = 1 0 m − 4 5 which simplifies to 1 0 m = 1 1 1 a + 5 7 . Solving this Diophantine equation with a ≤ 9 , we get a = 3 and plugging in its value yields the answer as 3 9
Nicely done.
For the first half, it is easier to explain that m + ( m − 1 ) + ( m − 2 ) + … + ( m − 9 ) = 1 0 m − 4 5 .
If you look at solving the latter half, you actually do not need your second condition. IE we want to solve 1 0 m − 4 5 = 1 1 1 a + 1 2 , or that 1 0 m = 1 1 1 a + 5 7 . Hence we must have a = 3 . I recommend making this edit to the problem.
Problem Loading...
Note Loading...
Set Loading...
Let the first number be x ; then the sum of the 10 numbers = x + ( x + 1 ) + ( x + 2 ) . . . . . . + ( x + 9 ) = 1 0 x + 4 5
Hence we know that the last digit of the sum is 5 .
Since the sum is consecutive increasing digits, thus it must be 3 4 5 .
Solving 1 0 x + 4 5 = 3 4 5 ⟹ x = 3 0 .
Hence, the greatest number is x + 9 = 3 0 + 9 = 3 9