OFFSET
0,1
COMMENTS
LINKS
Robert Israel, Table of n, a(n) for n = 0..10000
Wikipedia, p-adic number
FORMULA
EXAMPLE
The unique number k in [1, 5^3] and congruent to 2 modulo 5 such that k^4 - 6 is divisible by 5^3 is k = 22 = (42)_5, so the first three terms are 2, 4 and 0.
MAPLE
S:= select(t -> op([1, 3, 1], t)=2, [padic:-rootp(_Z^4-6, 5, 100)]):
op([1, 1, 3], S); # Robert Israel, Mar 23 2023
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