OFFSET
0,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
EXAMPLE
1^7 == 1 (mod 10).
31^7 == 11 (mod 10^2).
31^7 == 111 (mod 10^3).
1031^7 == 1111 (mod 10^4).
91031^7 == 11111 (mod 10^5).
191031^7 == 111111 (mod 10^6).
PROG
(PARI) n=0; for(i=1, 100, m=(10^i-1)/9; for(x=0, 9, if(((n+(x*10^(i-1)))^7)%(10^i)==m, n=n+(x*10^(i-1)); print1(x", "); break)))
(PARI) Vecrev(digits(truncate((-1/9+O(10^100))^(1/7)))) \\ Seiichi Manyama, Aug 04 2019
(PARI) N=100; Vecrev(digits(lift(chinese(Mod((-1/9+O(2^N))^(1/7), 2^N), Mod((-1/9+O(5^N))^(1/7), 5^N)))), N) \\ Seiichi Manyama, Aug 04 2019
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Aswini Vaidyanathan, May 11 2013
STATUS
approved