OFFSET
0,1
COMMENTS
This is the 10's complement of A225453.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
EXAMPLE
3^9 == -7 (mod 10).
63^9 == -77 (mod 10^2).
663^9 == -777 (mod 10^3).
5663^9 == -7777 (mod 10^4).
15663^9 == -77777 (mod 10^5).
915663^9 == -777777 (mod 10^6).
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)))^9)%(10^i)==m, n=n+(x*10^(i-1)); print1(x", "); break)))
(PARI) N=100; Vecrev(digits(lift(chinese(Mod((7/9+O(2^N))^(1/9), 2^N), Mod((7/9+O(5^N))^(1/9), 5^N)))), N) \\ Seiichi Manyama, Aug 07 2019
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Aswini Vaidyanathan, May 11 2013
STATUS
approved