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

Numbers k such that k*2^k - (k-1) is prime.
2

%I #32 Aug 19 2024 02:21:06

%S 1,2,4,6,30,32,42,120,210,248,284,574,600,628,1600,2800,3396,8892,

%T 9426,14630,15444,37384,51062,76364,129566

%N Numbers k such that k*2^k - (k-1) is prime.

%C All terms > 1 are even. - _Robert Israel_, Sep 22 2014

%p select(t -> isprime(t*2^t - (t-1)), [$1..5000]); # _Robert Israel_, Sep 22 2014

%o (PARI) is(n)=ispseudoprime(n*2^n-(n-1)) \\ _Charles R Greathouse IV_, May 22 2017

%Y Cf. A046846.

%K nonn,hard,more

%O 1,2

%A _Felice Russo_

%E New name from _Michel Marcus_, Sep 22 2014

%E a(12)-a(17) from _Robert Israel_, Sep 22 2014

%E a(18)-a(23) from _Michael S. Branicky_, May 12 2023

%E a(24)-a(25) from _Michael S. Branicky_, Aug 18 2024