OFFSET
0,2
COMMENTS
x = ...338737664587063665050177076914840881.
x^9 = ...987654321987654321987654321987654321.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
EXAMPLE
1^9 == 1 (mod 10).
81^9 == 21 (mod 10^2).
881^9 == 321 (mod 10^3).
881^9 == 4321 (mod 10^4).
40881^9 == 54321 (mod 10^5).
840881^9 == 654321 (mod 10^6).
4840881^9 == 7654321 (mod 10^7).
14840881^9 == 87654321 (mod 10^8).
914840881^9 == 987654321 (mod 10^9).
PROG
(PARI) N=100; M=987654321/(1-10^9); Vecrev(digits(lift(chinese(Mod((M+O(2^N))^(1/9), 2^N), Mod((M+O(5^N))^(1/9), 5^N)))), N)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Seiichi Manyama, Aug 18 2019
STATUS
approved