A287218 a(n) = smallest k such that (6*k-3)*2^prime(n) - 1 is prime.
1, 1, 3, 1, 1, 2, 3, 9, 12, 8, 3, 4, 3, 1, 36, 25, 8, 12, 19, 21, 3, 12, 19, 40, 9, 14, 1, 14, 2, 18, 81, 56, 49, 38, 38, 26, 3, 33, 103, 12, 67, 12, 11, 8, 48, 79, 2, 43, 136, 82, 12, 46, 78, 31, 117, 126, 34, 4, 27, 49, 83, 3, 57, 234, 12, 10, 116, 128, 53, 13
Offset: 1
Keywords
Links
- Pierre CAMI, Table of n, a(n) for n = 1..2000
Programs
-
Mathematica
sk[n_]:=Module[{k=1,t=2^Prime[n]},While[!PrimeQ[(6k-3)*t-1],k++];k]; Array[ sk,70] (* Harvey P. Dale, Nov 14 2018 *)
Comments