login
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_