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

Least a such that (2^n+a)*2^n - 1 is prime.
11

%I #9 Aug 03 2014 14:01:31

%S 0,1,1,1,2,1,11,2,2,1,13,2,4,22,2,1,2,2,43,4,2,13,2,1,13,1,2,46,8,29,

%T 83,2,8,34,1,11,19,31,25,7,38,31,31,76,52,31,43,32,13,92,2,1,59,22,1,

%U 16,19,11,16,74,8,13,8,74,2,121,20,49,85,134,116,16

%N Least a such that (2^n+a)*2^n - 1 is prime.

%H Pierre CAMI, <a href="/A191618/b191618.txt">Table of n, a(n) for n = 1..5000</a>

%t Table[a = 0; While[! PrimeQ[(2^n + a)*2^n - 1], a++]; a, {n, 100}] (* _T. D. Noe_, Jun 11 2011 *)

%Y Cf. A191617, A191619, A191620, A191621.

%K nonn

%O 1,5

%A _Pierre CAMI_, Jun 09 2011