%I #12 Nov 13 2024 15:16:20
%S 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,
%T 51,53,58,59,60,63,65,67,69,72,77,80,84,86,88,91,95,102,105,108,111,
%U 115,116,118,119,123,126,128,129,132,133,136,139,142,146,149,150,151,154,156,157
%N Numbers n such that (2n+1)^2 - 2 is prime.
%H Alois P. Heinz, <a href="/A088572/b088572.txt">Table of n, a(n) for n = 1..10000</a>
%p q:= n-> isprime((2*n+1)^2-2):
%p select(q, [$0..157])[]; # _Alois P. Heinz_, Nov 13 2024
%o (PARI) is(n)=isprime((2*n+1)^2-2) \\ _Charles R Greathouse IV_, Jun 12 2017
%Y Cf. A028870, A073577.
%K nonn
%O 1,2
%A Herman H. Rosenfeld (herm3(AT)pacbell.net), Nov 17 2003