A322563 One of the two successive approximations up to 17^n for 17-adic integer sqrt(-2). This is the 7 (mod 17) case (except for n = 0).
0, 7, 24, 3492, 3492, 755181, 755181, 386956285, 3669665669, 38548452874, 1935954476826, 30159869083112, 30159869083112, 612782106312873, 149181452599901928, 2001337544753312147, 47800106368910364835, 777717984503913392050, 7395640079594607505466
Offset: 0
Keywords
Examples
7^2 = 49 = 3*17 - 2; 24^2 = 576 = 2*17^2 - 2; 3492^2 = 12194064 = 2482*17^3 - 2.
Links
- Wikipedia, p-adic number
Crossrefs
Programs
-
Mathematica
{0}~Join~Table[First@Select[PowerModList[-2,1/2,17^k],Mod[#,17]==7&],{k,20}] (* Giorgos Kalogeropoulos, Sep 14 2022 *)
-
PARI
a(n) = truncate(sqrt(-2+O(17^n)))
Comments