OFFSET
0,2
COMMENTS
For n > 0, a(n) is the unique solution to x^2 == 6 (mod 5^n) in the range [0, 5^n - 1] and congruent to 1 modulo 5.
A324023 is the approximation (congruent to 4 mod 5) of another square root of 6 over the 5-adic field.
LINKS
Wikipedia, p-adic number
FORMULA
EXAMPLE
9^2 = 81 = 3*5^2 + 6;
109^2 = 11881 = 95*5^3 + 6 = 19*5^4 + 6;
1359^2 = 1846881 = 591*5^5 + 6.
PROG
(PARI) a(n) = truncate(-sqrt(6+O(5^n)))
CROSSREFS
Approximations of 5-adic square roots:
A324023, this sequence (sqrt(6)).
KEYWORD
nonn
AUTHOR
Jianing Song, Sep 07 2019
STATUS
approved