login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A220144
The values of k in A220143.
2
4, 6, 9, 18, 24, 42, 54, 120, 258, 396, 420, 594, 744, 840, 1074, 1800, 2130, 2172, 2256, 2304, 2550, 2778, 3282, 3792, 3894, 4170, 4488, 4578, 4626, 4848, 5562, 5754, 6192, 6252, 7260, 7428, 7920, 9654
OFFSET
1,1
MATHEMATICA
t = {{1, 4}}; Do[k = 1; While[! (PrimeQ[k*n - 1] && PrimeQ[k*n + 1]), k++]; If[k > t[[-1, 2]], AppendTo[t, {n, k}]], {n, 2, 100000}]; Transpose[t][[2]]
CROSSREFS
Sequence in context: A371843 A056016 A231997 * A346591 A152002 A171127
KEYWORD
nonn,more
AUTHOR
T. D. Noe, Jan 08 2013
EXTENSIONS
More terms from Amiram Eldar, Dec 30 2019
STATUS
approved