OFFSET
0,10
LINKS
Pierre CAMI, Table of n, a(n) for n = 0..1230
MATHEMATICA
lk[n_]:=Module[{k=1}, While[NoneTrue[3*k*2^n+{1, -1}, PrimeQ], k++]; k]; Array[ lk, 70, 0] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Aug 03 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Pierre CAMI, Nov 26 2008, Nov 27 2008
STATUS
approved