OFFSET
1,1
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..38
MATHEMATICA
t = {{2, 2}}; Do[k = 1; While[! (PrimeQ[k*n - 1] && PrimeQ[k*n + 1]), k++]; If[k > t[[-1, 2]], AppendTo[t, {n, k}]], {n, Prime[Range[2, 1000]]}]; Transpose[t][[1]]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Jan 08 2013
EXTENSIONS
More terms from Amiram Eldar, Dec 30 2019
STATUS
approved