OFFSET
1,2
COMMENTS
a(32) > 3*10^5. [Donovan Johnson, Nov 15 2009]
EXAMPLE
8 divides prime(8^2)+1 = 312 = 39*8, so 8 is a term of the sequence.
MATHEMATICA
Select[Range[10^4], Mod[Prime[ #^2] + 1, # ] == 0 &]
CROSSREFS
KEYWORD
nonn
AUTHOR
Joseph L. Pe, Feb 15 2002
EXTENSIONS
a(24)-a(31) from Donovan Johnson, Nov 15 2009
a(32) from Amiram Eldar, Jul 23 2021
STATUS
approved