Difference between revisions of "2010 IMO Problems/Problem 3"
m (→Solution) |
m (→Solution) |
||
| Line 54: | Line 54: | ||
<br /><br /> | <br /><br /> | ||
| + | |||
| + | If <math>g(m)-g(m+1) = 1</math>, then <math>g(x) = -x + k</math>, <math>k\in\mathbb{N}</math>. | ||
| + | |||
| + | <math>(g(1)+2)(g(2)+1)=(1+k)(-1+k)</math>, which is not perfect square because <math>(n)(n+2)</math> is never a perfect square. | ||
| + | |||
| + | If <math>g(m)-g(m+1) = -1</math>, then <math>g(x) = x + k</math>, <math>k\in\mathbb{N}</math>. | ||
| + | |||
| + | <math>(g(m)+n)(g(n)+m)=(n+m+k)^2</math> | ||
| + | |||
Thus, <math>g(x)=x+k</math>, <math>k\in\mathbb{N}</math> | Thus, <math>g(x)=x+k</math>, <math>k\in\mathbb{N}</math> | ||
Revision as of 22:45, 23 October 2010
Problem
Find all functions
such that
is a perfect square for all
Author: Gabriel Carroll, USA
Solution
Suppose such function
exist then:
Lemma 1)
Assume for contradiction that![]()
has to be a perfect square
but
.
A square cannot be between 2 consecutive squares. Contradiction. Thus,![]()
Lemma 2)
(we have show that it can't be 0)
Assume for contradiction, that.
Then there must exist a prime number
such that
and
are in the same residue class modulo
.
If
where
is not divisible by
.
If.
Consider ansuch that
![]()
, where
is not divisible by
![]()
If.
Consider ansuch that
![]()
, where
is not divisible by
![]()
At least one of,
is not divisible by
. Hence,
At least one of,
is divisible by an odd amount of
.
Hence, that number is not a perfect square.
If
, then
,
.
, which is not perfect square because
is never a perfect square.
If
, then
,
.
Thus,,
![]()