|
|
A218211
|
|
Number of n-digit primes that are the sum of six consecutive squares of nonnegative numbers.
|
|
4
|
|
|
0, 0, 4, 10, 15, 49, 147, 407, 1084, 3010, 8756, 25145, 73424, 215375, 631828, 1870092, 5562131, 16584139, 49630873, 148917071, 448088250
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
These are the primes of the form 91 + 42*k + 6*k^2.
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
n = 0; Table[cnt = 0; 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 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|