login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A129119
Numbers of the form 2*p (with p a prime number) such that p^2+4 is prime.
0
6, 10, 14, 26, 34, 74, 94, 134, 146, 194, 206, 274, 326, 334, 386, 466, 554, 586, 614, 626, 634, 694, 746, 926, 974, 1006, 1094, 1154, 1186, 1214, 1226, 1354, 1486, 1574, 1646, 1654, 1706, 1766, 1906, 1934, 1966, 1994, 2174, 2234, 2246, 2474, 2734, 2846
OFFSET
1,1
FORMULA
a(n) = 2*A062324(n).
EXAMPLE
7^2 + 4 = 53 which is a prime number. Therefore 2*7 is in the sequence.
MATHEMATICA
2*Select[Prime@Range[250], PrimeQ[ #^2 + 4] &] (* Ray Chandler, May 27 2007 *)
a={}; For[n=1, n<300, n++, If[PrimeQ[Prime[n]^2 + 4], AppendTo[a, 2*Prime[n]]]]; a (* Stefan Steinerberger, May 27 2007 *)
CROSSREFS
Sequence in context: A315238 A315239 A119623 * A259020 A259021 A171251
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, May 25 2007
EXTENSIONS
Extended and edited by Ray Chandler and Stefan Steinerberger, May 27 2007
STATUS
approved