[go: up one dir, main page]

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”).

A191620
Least k such that (2^n-k)*2^n - 1 is a prime number
14
0, 1, 2, 1, 1, 2, 2, 7, 1, 1, 14, 2, 11, 11, 2, 22, 7, 1, 2, 8, 2, 11, 14, 32, 2, 13, 2, 11, 52, 8, 10, 49, 13, 11, 4, 11, 31, 1, 23, 64, 11, 47, 20, 38, 1, 14, 4, 88, 7, 1, 47, 14, 22, 8, 2, 14, 1, 31, 20, 71, 20, 4, 44, 101, 38, 43, 80, 49, 11, 59, 4, 8
OFFSET
1,3
COMMENTS
Does a(n) exist for every n? This does not seem to be known, even on the GRH; see Heath-Brown. [Charles R Greathouse IV, Dec 27 2011]
LINKS
D. R. Heath-Brown, Zero-free regions for Dirichlet L-functions, and the least prime in an arithmetic progression. Proceedings of the London Mathematical Society 64:3 (1992), pp. 265-338.
MATHEMATICA
Table[a = 0; While[! PrimeQ[(2^n - a)*2^n - 1], a++]; a, {n, 100}] (* T. D. Noe, Jun 11 2011 *)
PROG
(PARI) a(n)=forstep(k=4^n-1, 1, -2^n, if(ispseudoprime(k), return(2^n-(k+1)>>n))) \\ Charles R Greathouse IV, Dec 27 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Pierre CAMI, Jun 09 2011
STATUS
approved