OFFSET
1,1
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Stuart Clary and Jacek Fabrykowski, Arithmetic progressions, prime numbers, and squarefree integers, Czechoslovak Mathematical Journal, Vol. 54, No. 4 (2004), pp. 915-927.
EXAMPLE
5 is a term since it is prime, 5 == 5 (mod 6), and 5+1 = 6 = 2*3 is squarefree.
MATHEMATICA
Select[Range[2000], Mod[#, 6] == 5 && PrimeQ[#] && SquareFreeQ[# + 1] &]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Dec 29 2020
STATUS
approved