MathDB
Problems
Contests
International Contests
CentroAmerican
2020 Centroamerican and Caribbean Math Olympiad
1
1
Part of
2020 Centroamerican and Caribbean Math Olympiad
Problems
(1)
Virtual numbers
Source: Centroamerican 2020, problem 1
10/28/2020
A four-digit positive integer is called virtual if it has the form
a
b
a
b
‾
\overline{abab}
abab
, where
a
a
a
and
b
b
b
are digits and
a
≠
0
a \neq 0
a
=
0
. For example 2020, 2121 and 2222 are virtual numbers, while 2002 and 0202 are not. Find all virtual numbers of the form
n
2
+
1
n^2+1
n
2
+
1
, for some positive integer
n
n
n
.
number theory
Digits