MathDB
Problems
Contests
National and Regional Contests
Brazil Contests
Brazil National Olympiad
2012 Brazil National Olympiad
3
3
Part of
2012 Brazil National Olympiad
Problems
(1)
n^k ends in a 2012-string of 1's
Source: Problem 3, Brazilian MO, 2012
11/28/2012
Find the least non-negative integer
n
n
n
such that exists a non-negative integer
k
k
k
such that the last 2012 decimal digits of
n
k
n^k
n
k
are all
1
1
1
's.
modular arithmetic
induction
number theory unsolved
number theory