cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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.

This page as a plain text file.
%I A033096 #7 Nov 15 2012 04:25:44
%S A033096 1,2,5,9,15,21,30,36,46,56,68,79,95,108,123,137,153,166,184,199,220,
%T A033096 240,261,277,301,321,344,367,393,418,450,472,498,523,548,576,610,638,
%U A033096 670,700,735,765,802,833,868,904,939,970,1011,1045
%N 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.
%t A033096 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 A033096 Cf. A033094, A033095, A033098, A033100, A033102, A033104, A033106, A033108, A033110, A033112.
%K A033096 nonn,base
%O A033096 1,2
%A A033096 _Clark Kimberling_