[go: up one dir, main page]

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

A111040
Numbers n such that 2*n^2 + 9 is prime.
0
1, 2, 4, 5, 7, 8, 11, 13, 14, 16, 17, 20, 22, 25, 26, 31, 35, 38, 40, 41, 44, 46, 50, 52, 58, 59, 61, 68, 71, 73, 77, 79, 80, 82, 88, 92, 94, 95, 101, 103, 106, 107, 112, 115, 116, 125, 130, 137, 139, 140, 146, 154, 157, 158, 163, 167, 169, 170, 176, 178, 179, 193, 205
OFFSET
1,2
EXAMPLE
If n=26 then (2*n^2) + 9 = 1361 (prime).
MAPLE
a:=proc(n) if isprime(2*n^2+9)=true then n else fi end: seq(a(n), n=0..280); # Emeric Deutsch, Oct 06 2005
MATHEMATICA
Select[Range[205], PrimeQ[2#^2+9] &] (* Stefano Spezia, Aug 07 2024 *)
PROG
(PARI) is(n)=isprime(2*n^2+9) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Cf. A339048.
Sequence in context: A112886 A282429 A375242 * A191324 A147807 A022559
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Oct 05 2005
EXTENSIONS
More terms from Emeric Deutsch, Oct 06 2005
STATUS
approved