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”).
%I #6 Jun 27 2022 18:47:16
%S 1,2,4,40,16,96,192,640,256,7680,13312,18432,12288,40960,114688,
%T 163840,65536,1179648,786432,5767168,7340032,23068672,104857600,
%U 377487360,754974720,167772160,469762048,2013265920,3489660928,12348030976
%N a(n) is the smallest number such that a(n)+1 is a prime and the largest power of 2 which divides it is 2^n.
%F a(n) = A057775(n) - 1. - _Sean A. Irvine_, Jun 27 2022
%e The 4th term is 40. It is divisible by 8,40+1=41 is prime. Smaller multiples of 8 are not suitable because e.g. albeit 8|16 and 16+1=17 is a prime, but the largest power of 2 which divides 16 is not 8, it is 16. So 16 is not the 3rd, it is the 4th term here.
%Y Cf. A000040, A006093, A057775, A057776.
%K nonn
%O 0,2
%A _Labos Elemer_, Nov 02 2000
%E More terms from Larry Reeves (larryr(AT)acm.org), Nov 03 2000