OFFSET
0,2
COMMENTS
x = ...132203,
x^2 = ...344214,
x^3 = ...000002 = 2.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..1431
Wikipedia, Hensel's Lemma.
FORMULA
a(0) = 0 and a(1) = 3, a(n) = a(n-1) + 2 * (a(n-1)^3 - 2) mod 5^n for n > 1.
EXAMPLE
a(1) = ( 3)_5 = 3,
a(2) = ( 3)_5 = 3,
a(3) = ( 203)_5 = 53,
a(4) = (2203)_5 = 303.
PROG
(PARI) a(n)=truncate((2+O(5^n))^(1/3)); \\ Joerg Arndt, Aug 06 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Aug 06 2017
STATUS
approved