OFFSET
1,1
COMMENTS
a(n) = 120*A163624(n) + 1.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..5000
MATHEMATICA
Select[120*Range[120]+1, PrimeQ] (* Harvey P. Dale, Dec 05 2013 *)
PROG
(Magma) [a: n in [0..250]|IsPrime(a) where a is 120*n+1] // Vincenzo Librandi, Dec 13 2010
(PARI) lista(nn) = forprime(p=2, nn, if (!((p-1) % 120), print1(p, ", "))); \\ Michel Marcus, Jul 31 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Aug 01 2009
STATUS
approved