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

a(n) = Smallest number with binary run length product = n
2

%I #2 Mar 30 2012 17:23:31

%S 0,3,7,12,31,24,127,48,56,96,2047,99,8191,384,224,195,131071,199,

%T 524287,387,896,6144,8388607,391,992,24576,455,1539,536870911,775

%N a(n) = Smallest number with binary run length product = n

%C a(p) = 2^p - 1 for prime p

%e a(4) = 12, because 12 is the smallest number with a binary run length product of 4.

%e 12 decimal = 1100 binary. Run lengths in binary are 2,2, and 2x2 = 4.

%Y Cf. A167489 - Product of run length in binary representation of n

%Y Cf. A167491 - Numbers in this sequence sorted in ascending order

%K nonn

%O 1,2

%A _Andrew Weimholt_, Nov 05 2009