OFFSET
1,1
LINKS
R. J. Mathar, Table of n, a(n) for n = 1..656
MATHEMATICA
Position[#, 4] &@ Table[k = 1; While[! PrimeQ[k n + 1], k++]; k, {n, 300}] // Flatten (* Michael De Vlieger, Mar 02 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved