A318960 One of the two successive approximations up to 2^n for 2-adic integer sqrt(-7). This is the 1 (mod 4) case.
1, 5, 5, 21, 53, 53, 181, 181, 181, 181, 181, 181, 181, 16565, 49333, 49333, 49333, 49333, 573621, 1622197, 1622197, 1622197, 10010805, 10010805, 10010805, 77119669, 211337397, 479772853, 479772853, 479772853, 2627256501, 6922223797, 15512158389, 15512158389
Offset: 2
Keywords
Examples
The unique number k in [1, 4] and congruent to 1 modulo 4 such that k^2 + 7 is divisible by 8 is 1, so a(2) = 1. a(2)^2 + 7 = 8 which is not divisible by 16, so a(3) = a(2) + 2^2 = 5. a(3)^2 + 7 = 32 which is divisible by 32, so a(4) = a(3) = 5. a(4)^2 + 7 = 32 which is divisible by 64, so a(5) = a(4) + 2^4 = 21. a(5)^2 + 7 = 448 which is divisible by 128, so a(6) = a(5) + 2^5 = 53. ...
Links
- Jianing Song, Table of n, a(n) for n = 2..999 (offset corrected by Jianing Song)
- G. P. Michon, Introduction to p-adic integers, Numericana.
Crossrefs
Programs
-
PARI
a(n) = truncate(-sqrt(-7+O(2^(n+1))))
Formula
Extensions
Offset corrected by Jianing Song, Aug 28 2019
Comments