OFFSET
1,1
COMMENTS
From Bernard Schott, Sep 18 2022: (Start)
The smallest prime of the form 4*k + 3 that is not a term is 31 because A000217(31) = 496, then 496 + 1 = 497 = 7 * 71 (see Penguin reference). (End)
REFERENCES
David Wells, The Penguin Dictionary of Curious and Interesting Numbers, Revised Edition, Penguin Books, London, England, 1997, entry 496, page 142.
EXAMPLE
A000217(3) + 1 = 3*4/2 + 1 = 7, hence 3 is a term.
MATHEMATICA
Select[Prime[Range[300]], PrimeQ[# (# + 1)/2 + 1] &] (* T. D. Noe, Nov 19 2013 *)
PROG
(PARI) isok(p) = isprime(p) && isprime(p*(p+1)/2+1); \\ Michel Marcus, Sep 19 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Nov 16 2013
STATUS
approved