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.

A218210 Number of primes up to 10^n that are of the form (k-2)^2 + (k-1)^2 + k^2.

This page as a plain text file.
%I A218210 #8 Oct 23 2012 13:19:14
%S A218210 2,3,6,10,22,53,139,369,1050,2984,8618,24390
%N A218210 Number of primes up to 10^n that are of the form (k-2)^2 + (k-1)^2 + k^2.
%C A218210 There are two primes < 10: 2 and 5.
%F A218210 a(n) = sum(A218209(k), k=1..n)
%t A218210 n = -1; cnt = 0; Do[While[n++; p = 3*n^2 + 2; p < 10^e, If[PrimeQ[p], cnt++]]; n--; cnt, {e, 10}] (* _T. D. Noe_, Oct 23 2012 *)
%Y A218210 Cf. A027863, A027864, A218208, A218209, A218212.
%K A218210 nonn,base
%O A218210 1,1
%A A218210 _Martin Renner_, Oct 23 2012