OFFSET
1,1
COMMENTS
This is the 10's complement of A225441.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
7^7 == 3 (mod 10).
67^7 == 23 (mod 100).
367^7 == 223 (mod 1000).
4367^7 == 2223 (mod 10000).
4367^7 == 22223 (mod 100000).
104367^7 == 222223 (mod 1000000).
MAPLE
op([1, 3], padic:-evalp(RootOf(x^7-7/9, x), 10, 202)); # Robert Israel, Feb 05 2019
PROG
(PARI) n=0; for(i=1, 100, m=(2*(10^i-1)/9)+1; for(x=0, 9, if(((n+(x*10^(i-1)))^7)%(10^i)==m, n=n+(x*10^(i-1)); print1(x", "); break)))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Aswini Vaidyanathan, May 11 2013
STATUS
approved