OFFSET
0,1
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
EXAMPLE
3^9 == 3 (mod 10).
53^9 == 33 (mod 10^2).
853^9 == 333 (mod 10^3).
8853^9 == 3333 (mod 10^4).
48853^9 == 33333 (mod 10^5).
348853^9 == 333333 (mod 10^6).
PROG
(PARI) n=0; for(i=1, 100, m=(10^i-1)/3; 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((-1/3+O(2^N))^(1/9), 2^N), Mod((-1/3+O(5^N))^(1/9), 5^N)))), N) \\ Seiichi Manyama, Aug 07 2019
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Aswini Vaidyanathan, May 11 2013
EXTENSIONS
Offset changed back to 0. - N. J. A. Sloane, Aug 08 2019
STATUS
approved