OFFSET
1,4
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
a(5)=1 because 4*5*1-1=19 is a prime
MATHEMATICA
lk[n_]:=Module[{c=4n, k=1}, While[!PrimeQ[c*k-1], k++]; k]; Array[lk, 110] (* Harvey P. Dale, Jun 05 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Erich Friedman
STATUS
approved