OFFSET
0,1
COMMENTS
The associated prime number list is (k+1)*2^n-1 = 2, 3, 7, 23, 31, 127, 127, 383, 1279, 3583, 5119, 6143, 8191, 73727 for n=0,1,2,3,4,... - R. J. Mathar, Jan 22 2007
FORMULA
a(n) << 19^n by Xylouris' improvement to Linnik's theorem. - Charles R Greathouse IV, Dec 10 2013
MAPLE
A127586 := proc(n) local k; k:=1 ; while true do if isprime( (k+1)*2^n-1) then RETURN(k) ; fi ; k := k+1 ; od ; end: for n from 0 to 100 do printf("%d, ", A127586(n)) ; od ; # R. J. Mathar, Jan 22 2007
MATHEMATICA
a = {}; Do[k = 1; While[ ! PrimeQ[k 2^n + 2^n - 1], k++ ]; AppendTo[a, k], {n, 0, 50}]; a
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Jan 19 2007
STATUS
approved