A318961 One of the two successive approximations up to 2^n for 2-adic integer sqrt(-7). This is the 3 (mod 4) case.
3, 3, 11, 11, 11, 75, 75, 331, 843, 1867, 3915, 8011, 16203, 16203, 16203, 81739, 212811, 474955, 474955, 474955, 2572107, 6766411, 6766411, 23543627, 57098059, 57098059, 57098059, 57098059, 593968971, 1667710795, 1667710795, 1667710795, 1667710795, 18847579979
Offset: 2
Keywords
Examples
The unique number k in [1, 4] and congruent to 3 modulo 4 such that k^2 + 7 is divisible by 8 is 3, so a(2) = 3. a(2)^2 + 7 = 16 which is divisible by 16, so a(3) = a(2) = 3. a(3)^2 + 7 = 16 which is not divisible by 32, so a(4) = a(3) + 2^3 = 11. a(4)^2 + 7 = 128 which is divisible by 64, so a(5) = a(4) = 11. a(5)^2 + 7 = 128 which is divisible by 128, so a(6) = a(5) = 11. ...
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) = if(n==2, 3, truncate(sqrt(-7+O(2^(n+1)))))
Formula
Extensions
Offset corrected by Jianing Song, Aug 28 2019
Comments