login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A218209 Number of n-digit primes that are of the form (k-2)^2 + (k-1)^2 + k^2 4
2, 1, 3, 4, 12, 31, 86, 230, 681, 1934, 5634, 15772 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A218210(n) - A218210(n-1)
MATHEMATICA
n = -1; Table[cnt = 0; While[n++; p = 3*n^2 + 2; p < 10^e, If[PrimeQ[p], cnt++]]; n--; cnt, {e, 10}] (* T. D. Noe, Oct 23 2012 *)
Table[Count[Table[Total[Range[n, n+2]^2], {n, -1, 600000}], _?(PrimeQ[#] && IntegerLength[#]==k&)], {k, 12}] (* Harvey P. Dale, Oct 17 2016 *)
CROSSREFS
Sequence in context: A052950 A086851 A001054 * A141487 A217103 A099866
KEYWORD
nonn,base
AUTHOR
Martin Renner, Oct 23 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 07:57 EDT 2024. Contains 371698 sequences. (Running on oeis4.)