This site is supported by donations to The OEIS Foundation.

 Annual appeal: Please make a donation to keep the OEIS running! Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS". Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A033096 Number of 1's when k is written in base b for all b and k satisfying 2<=b<=n+1, 1<=k<=n. 10
 1, 2, 5, 9, 15, 21, 30, 36, 46, 56, 68, 79, 95, 108, 123, 137, 153, 166, 184, 199, 220, 240, 261, 277, 301, 321, 344, 367, 393, 418, 450, 472, 498, 523, 548, 576, 610, 638, 670, 700, 735, 765, 802, 833, 868, 904, 939, 970, 1011, 1045 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS MATHEMATICA f[n_] := Count[ Flatten@ Table[ IntegerDigits[k, b], {k, n}, {b, 2, n + 1}], 1] - (n - 1); Array[f, 50] (* Robert G. Wilson v, Nov 14 2012 *) CROSSREFS Cf. A033094, A033095, A033098, A033100, A033102, A033104, A033106, A033108, A033110, A033112. Sequence in context: A013933 A101201 A184535 * A195014 A152738 A022941 Adjacent sequences:  A033093 A033094 A033095 * A033097 A033098 A033099 KEYWORD nonn,base AUTHOR STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.