OFFSET
1,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000
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
KEYWORD
nonn
AUTHOR
Herman H. Rosenfeld (herm3(AT)pacbell.net), Nov 17 2003
STATUS
approved