login
A108850
Number of 1's in the binary expansion of the repunits.
0
0, 1, 3, 6, 6, 9, 8, 10, 12, 18, 15, 16, 21, 17, 20, 23, 28, 33, 30, 35, 34, 38, 39, 39, 37, 39, 44, 47, 51, 48, 50, 48, 59, 62, 55, 55, 56, 62, 60, 64, 66, 64, 68, 62, 77, 76, 78, 76, 76, 73, 83, 81, 86, 105, 89, 94, 94, 103, 97, 93, 89, 90, 105, 109, 105, 104, 102, 106, 107
OFFSET
0,3
EXAMPLE
a(3)=6 because 111 = '1101111' has 6 ones.
CROSSREFS
Sequence in context: A318845 A147866 A135702 * A111652 A159787 A184161
KEYWORD
easy,nonn,base
AUTHOR
Jason Earls, Jul 11 2005
STATUS
approved