login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Successive approximations to 13-adic integer sqrt(-1).
2

%I #21 Nov 11 2018 00:42:29

%S 0,5,70,239,143044,1999509,6826318,822557039,85658552023,

%T 1188526486815,11941488851037,291518510320809,2108769149874327,

%U 13920898306972194,2675587335039691558,63228498770709057089

%N Successive approximations to 13-adic integer sqrt(-1).

%D K. Mahler, Introduction to p-Adic Numbers and Their Functions, Cambridge, 1973, p. 35.

%H Seiichi Manyama, <a href="/A034944/b034944.txt">Table of n, a(n) for n = 0..806</a>

%o (PARI) seq(n)={my(v=vector(n), i=1, k=0); while(i<#v, k++; my(t=truncate(sqrt(-1 + O(13^k)))); if(t > v[i], i++; v[i]=t)); v} \\ _Andrew Howroyd_, Nov 10 2018

%Y Cf. A034935, A034939, A218709, A286840.

%K nonn,easy

%O 0,2

%A _N. J. A. Sloane_