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.

A218212 Number of primes up to 10^n that are the sum of six consecutive squares of nonnegative numbers.

This page as a plain text file.
%I A218212 #25 Feb 20 2018 11:56:20
%S A218212 0,0,4,14,29,78,225,632,1716,4726,13482,38627,112051,327426,959254,
%T A218212 2829346,8391477,24975616,74606489,223523560,671611810
%N A218212 Number of primes up to 10^n that are the sum of six consecutive squares of nonnegative numbers.
%C A218212 These are primes of the form 91 + 42*k + 6*k^2.
%F A218212 a(n) = Sum_{k=1..n} A218211(k).
%t A218212 n = 0; cnt = 0; Table[While[n++; p = 91 + 42*n + 6*n^2; p < 10^e, If[PrimeQ[p], cnt++]]; n--; cnt, {e, 14}] (* _T. D. Noe_, Oct 23 2012, edited by _Michael De Vlieger_, Feb 18 2018 *)
%Y A218212 Cf. A027866, A027867, A218208, A218210, A218211.
%K A218212 nonn,base,more
%O A218212 1,3
%A A218212 _Martin Renner_, Oct 23 2012
%E A218212 a(13)-a(21) from _Chai Wah Wu_, Feb 12 2018
%E A218212 Changed terms (as A218211(2) is reverted back to 0) by _Chai Wah Wu_, Feb 13 2018