Difference between revisions of "1960 IMO Problems/Problem 1"
m (→Solution 3) |
m (→Solution 3) |
||
Line 65: | Line 65: | ||
===Solution 3=== | ===Solution 3=== | ||
− | Note that there are only 900 three-digit numbers. Of these, only 81 are divisible by 11. This brings to mind the great strategy of listing and bashing. Being organized while listing will get you the answer. There is plenty of time on the IMO, and listing is highly unlikely to miss cases. | + | Note that there are only 900 three-digit numbers. Of these, only 81 are divisible by 11. This brings to mind the great strategy of listing and bashing. Being organized while listing will get you the answer. There is plenty of time on the IMO, and listing is highly unlikely to miss cases. We end up getting <math>\boxed{N=550,803}</math>. |
==See Also== | ==See Also== | ||
{{IMO7 box|year=1960|before=First Question|num-a=2}} | {{IMO7 box|year=1960|before=First Question|num-a=2}} |
Revision as of 18:47, 29 May 2018
Problem
Determine all three-digit numbers having the property that
is divisible by 11, and
is equal to the sum of the squares of the digits of
.
Solutions
Solution 1
Let for some digits
and
. Then
for some
. We also have
. Substituting this into the first equation and simplification, we get
For an integer divisible by
, the the sum of digits in the odd positions minus the sum of digits in the even positions is divisible by
. Thus we get:
or
.
Case : Let
. We get
Since the right side is even, the left side must also be even. Let
for some
. Then
Substitute
into the last equation and then solve for
.
When , we get
. Thus
and
. We get that
which works.
When , we get that
is not an integer. There is no
for this case.
When , we get that
is not an integer. There is no
for this case.
When , we get that
is not an integer. There is no
for this case.
When , we get that
is not an integer. There is no
for this case.
Case : Let
. We get
Now we test all
. When
, we get no integer solution to
. Thus, for these values of
, there is no valid
. However, when
, we get
We get that
is a valid solution. For this case, we get
, so
, and this is a valid value. Thus, the answers are
.
Solution 2
Define a ten to be all ten positive integers which begin with a fixed tens digit.
We can make a systematic approach to this:
By inspection, must be between 10 and 90 inclusive. That gives us 8 tens to check, and 90 as well.
For a given ten, the sum of the squares of the digits of increases faster than
, so we can have at most one number in every ten that works.
We check the first ten:
11 is too small and 12 is too large, so all numbers below 11 will be too small and all numbers above 12 will be too large, so no numbers in the first ten work.
We try the second ten:
Therefore, no numbers in the second ten work.
We continue, to find out that 50 and 73 are the only ones that works.
,
so there are two
that works.
Solution 3
Note that there are only 900 three-digit numbers. Of these, only 81 are divisible by 11. This brings to mind the great strategy of listing and bashing. Being organized while listing will get you the answer. There is plenty of time on the IMO, and listing is highly unlikely to miss cases. We end up getting .
See Also
1960 IMO (Problems) | ||
Preceded by First Question |
1 • 2 • 3 • 4 • 5 • 6 • 7 | Followed by Problem 2 |