OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
a(36) = 145 = 4*36 + 1, since 37, 73 and 109 are primes.
MATHEMATICA
scn[n_]:=Module[{k=1}, While[PrimeQ[k*n+1], k++]; k*n+1]; Array[scn, 70] (* Harvey P. Dale, Jun 20 2014 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amarnath Murthy, May 22 2001
EXTENSIONS
Corrected and extended by Larry Reeves (larryr(AT)acm.org), May 29 2001
STATUS
approved