A309989 Digits of one of the two 17-adic integers sqrt(-1).
4, 2, 10, 5, 12, 16, 12, 8, 13, 3, 14, 0, 6, 1, 0, 15, 1, 8, 14, 5, 7, 16, 14, 1, 5, 13, 9, 6, 5, 12, 16, 15, 9, 16, 14, 12, 16, 1, 3, 6, 4, 10, 15, 5, 16, 12, 2, 1, 5, 4, 0, 15, 2, 11, 14, 9, 5, 1, 11, 16, 15, 7, 5, 6, 14, 3, 12, 0, 0, 11, 12, 13, 9, 5, 4, 16, 13
Offset: 0
Examples
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.
Links
- Seiichi Manyama, Table of n, a(n) for n = 0..10000
- Wikipedia, p-adic number
Crossrefs
Digits of p-adic square roots:
this sequence, A309990 (17-adic, sqrt(-1)).
Programs
-
PARI
a(n) = truncate(sqrt(-1+O(17^(n+1))))\17^n
Comments