|
Search: id:A078402
|
|
|
| A078402 |
|
Sequence of numbers n such that n^2 + 5 is prime. |
|
+0 14
|
|
| 0, 6, 12, 36, 48, 72, 78, 96, 114, 126, 162, 168, 198, 204, 246, 258, 294, 336, 342, 372, 414, 432, 456, 462, 492, 504, 516, 534, 552, 576, 588, 594, 624, 666, 714, 726, 756, 768, 786, 792, 798, 804, 834, 852, 876, 888, 918, 954, 996
(list; graph; listen)
|
|
|
OFFSET
|
0,2
|
|
|
COMMENT
|
The sum of the reciprocals of the primes generated from these indices converges to 0.2332142.. The sum of the reciprocals of these indices cannot be computed.
|
|
LINKS
|
Eric Weisstein's World of Mathematics, Near-Square Prime
|
|
MATHEMATICA
|
lst={}; Do[If[PrimeQ[n^2+5], Print[n]; AppendTo[lst, n]], {n, 10^5}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Aug 21 2008]
|
|
PROGRAM
|
(PARI) \Indices of primes of the form n^2 + 5 and the sum of the reciprocals. nsqpm(n) = {sr=0; forstep(x=0, n, 2, y = x*x+5; if(isprime(y), print1(x" "); sr+=1.0/y; ); ); print(); print(sr); }
|
|
CROSSREFS
|
For the primes see A056905(n).
a(n) = 6 * A056906(n)
Sequence in context: A122608 A166636 A167338 this_sequence A127845 A096932 A064476
Adjacent sequences: A078399 A078400 A078401 this_sequence A078403 A078404 A078405
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Cino Hilliard (hillcino368(AT)gmail.com), Dec 26 2002
|
|
|
Search completed in 0.002 seconds
|