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”).

A111148
Numbers n such that 5*n^2 + 4 is prime.
0
9, 15, 33, 51, 57, 99, 111, 117, 135, 141, 183, 189, 195, 267, 309, 327, 345, 369, 387, 399, 405, 411, 429, 441, 447, 495, 513, 525, 537, 567, 603, 609, 645, 663, 681, 687, 705, 723, 777, 783, 789, 807, 813, 831, 861, 897, 909, 915, 981
OFFSET
1,1
EXAMPLE
If n=399 then 5*n^2 + 4 = 796009 (prime).
MATHEMATICA
Select[Range[1000], PrimeQ[5*#^2 + 4] &] (* Stefan Steinerberger, Feb 26 2006 *)
PROG
(PARI) is(n)=isprime(5*n^2+4) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A107076 A155775 A228096 * A125216 A058505 A133763
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Oct 18 2005
EXTENSIONS
More terms from Stefan Steinerberger, Feb 26 2006
STATUS
approved