login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
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

%I #7 Nov 15 2012 04:25:44

%S 1,2,5,9,15,21,30,36,46,56,68,79,95,108,123,137,153,166,184,199,220,

%T 240,261,277,301,321,344,367,393,418,450,472,498,523,548,576,610,638,

%U 670,700,735,765,802,833,868,904,939,970,1011,1045

%N Number of 1's when k is written in base b for all b and k satisfying 2<=b<=n+1, 1<=k<=n.

%t 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 *)

%Y Cf. A033094, A033095, A033098, A033100, A033102, A033104, A033106, A033108, A033110, A033112.

%K nonn,base

%O 1,2

%A _Clark Kimberling_

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)