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

A088572
Numbers n such that (2n+1)^2 - 2 is prime.
6
1, 2, 3, 4, 6, 7, 9, 10, 13, 14, 16, 17, 18, 21, 23, 24, 27, 30, 31, 34, 35, 37, 38, 44, 46, 51, 53, 58, 59, 60, 63, 65, 67, 69, 72, 77, 80, 84, 86, 88, 91, 95, 102, 105, 108, 111, 115, 116, 118, 119, 123, 126, 128, 129, 132, 133, 136, 139, 142, 146, 149, 150, 151, 154, 156, 157
OFFSET
1,2
LINKS
MAPLE
q:= n-> isprime((2*n+1)^2-2):
select(q, [$0..157])[]; # Alois P. Heinz, Nov 13 2024
PROG
(PARI) is(n)=isprime((2*n+1)^2-2) \\ Charles R Greathouse IV, Jun 12 2017
CROSSREFS
Sequence in context: A031403 A189578 A190859 * A366972 A071689 A187092
KEYWORD
nonn
AUTHOR
Herman H. Rosenfeld (herm3(AT)pacbell.net), Nov 17 2003
STATUS
approved