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

A091937
Greatest number of 1's in binary representations of primes between 2^n and 2^(n+1).
5
2, 3, 3, 5, 5, 7, 7, 8, 9, 10, 11, 13, 13, 13, 15, 17, 17, 19, 19, 20, 21, 21, 23, 24, 25, 25, 27, 28, 29, 31, 31, 32, 33, 34, 35, 35, 37, 37, 39, 40, 41, 41, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 53, 55, 56, 56, 58, 59, 61, 61, 61, 63, 64, 65, 66, 67, 68, 69, 69, 71, 72
OFFSET
1,1
COMMENTS
a(n) = A000120(A091938(n)).
MATHEMATICA
Run the second Mathematica line of A091938, then Count[ IntegerDigits[ #, 2], 1] & /@ Table[ f[n], {n, 75}]
CROSSREFS
Cf. A091935.
Sequence in context: A093841 A281354 A283313 * A239906 A239907 A113637
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Feb 14 2004
EXTENSIONS
More terms from Robert G. Wilson v, Feb 20 2004
STATUS
approved