OFFSET
0,1
COMMENTS
LINKS
Wikipedia, p-adic number
FORMULA
EXAMPLE
The unique number k in [1, 5^3] and congruent to 3 modulo 5 such that k^4 - 6 is divisible by 5^3 is k = 103 = (403)_5, so the first three terms are 3, 0 and 4.
PROG
(PARI) a(n) = lift(-sqrtn(6+O(5^(n+1)), 4) * sqrt(-1+O(5^(n+1))))\5^n
CROSSREFS
Digits of p-adic fourth-power roots:
KEYWORD
nonn,base
AUTHOR
Jianing Song, Sep 07 2019
STATUS
approved