OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
((p-1) mod 3) > 0, ((p-1) mod 4) > 0, ((p-1) mod 5) > 0.
EXAMPLE
347 is a term because none of 3, 4, 5 is a factor of 347 - 1 = 346.
MATHEMATICA
Select[Prime[Range[300]], FreeQ[Mod[#-1, {3, 4, 5}], 0]&] (* Harvey P. Dale, Apr 13 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Sep 13 2006
STATUS
approved