OFFSET
0,1
COMMENTS
This square root of -1 in the 17-adic field ends with digit 4. The other, A309990, ends with digit 13 (D when written as a 17-adic number).
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
Wikipedia, p-adic number
EXAMPLE
The solution to x^2 == -1 (mod 17^4) such that x == 4 (mod 17) is x == 27493 (mod 17^4), and 27493 is written as 5A24 in heptadecimal, so the first four terms are 4, 2, 10 and 5.
PROG
(PARI) a(n) = truncate(sqrt(-1+O(17^(n+1))))\17^n
CROSSREFS
Digits of p-adic square roots:
this sequence, A309990 (17-adic, sqrt(-1)).
KEYWORD
nonn,base
AUTHOR
Jianing Song, Aug 26 2019
STATUS
approved