OFFSET
0,1
COMMENTS
This square root of -1 in the 17-adic field ends with digit 13 (D when written as a 17-adic number). The other, A309989, ends with digit 4.
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 == 13 (mod 17) is x == 56028 (mod 17^4), and 56028 is written as B6ED in heptadecimal, so the first four terms are 13, 14, 6 and 11.
PROG
(PARI) a(n) = truncate(-sqrt(-1+O(17^(n+1))))\17^n
CROSSREFS
Digits of p-adic square roots:
A309989, this sequence (17-adic, sqrt(-1)).
KEYWORD
nonn,base
AUTHOR
Jianing Song, Aug 26 2019
STATUS
approved