cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A218207 Number of n-digit primes of the form (k-1)^2 + k^2.

This page as a plain text file.
%I A218207 #8 Oct 23 2012 13:18:40
%S A218207 1,3,6,16,42,107,286,764,2124,5917,17250,49818,145429
%N A218207 Number of n-digit primes of the form (k-1)^2 + k^2.
%F A218207 a(n) = A218208(n) - A218208(n-1)
%t A218207 n = 0; Table[cnt = 0; While[n++; p = 2*n^2 - 2*n + 1; p < 10^e, If[PrimeQ[p], cnt++]]; n--; cnt, {e, 10}] (* _T. D. Noe_, Oct 23 2012 *)
%Y A218207 Cf. A027861, A027862, A218208, A218209, A218211.
%K A218207 nonn,base
%O A218207 1,2
%A A218207 _Martin Renner_, Oct 23 2012