MathDB
Problems
Contests
International Contests
Baltic Way
2010 Baltic Way
17
17
Part of
2010 Baltic Way
Problems
(1)
Decimal representation of n^2 has only odd digits
Source: Baltic Way 2010
11/19/2010
Find all positive integers
n
n
n
such that the decimal representation of
n
2
n^2
n
2
consists of odd digits only.
modular arithmetic
number theory proposed
number theory