OFFSET
1,2
COMMENTS
a(29) > 3*10^5. - Donovan Johnson, Nov 15 2009
Any further terms are > 10^6. - Lucas A. Brown, Sep 27 2024
LINKS
Lucas A. Brown, Python program.
EXAMPLE
6 divides prime(6^2)-1 = 150, so 6 is a term of the sequence.
MATHEMATICA
Select[Range[10^4], Mod[Prime[ #^2] - 1, # ] == 0 &]
PROG
(PARI) isok(k) = !((prime(k^2)-1) % k); \\ Michel Marcus, Aug 15 2021
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Joseph L. Pe, Feb 15 2002
EXTENSIONS
a(20)-a(28) from Donovan Johnson, Nov 15 2009
STATUS
approved