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.

A033111 Number of 9's when n is written in base b for 2<=b<=n+1.

This page as a plain text file.
%I A033111 #8 Nov 14 2012 18:08:56
%S A033111 0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,2,1,2,1,2,1,
%T A033111 2,1,2,1,3,1,2,2,2,1,3,1,2,2,3,1,3,1,3,2,2,1,4,1,3,2,3,1,3,2,3,2,2,1,
%U A033111 6,1,2,2,3,2,4,1,3,2,4,1,5,1,2,3,3,2,4,1,5,3
%N A033111 Number of 9's when n is written in base b for 2<=b<=n+1.
%t A033111 f[n_] := Count[Flatten@ Table[ IntegerDigits[n, b], {b, 2, n + 1}], 9]; Array[f, 90](* _Robert G. Wilson v_, Nov 14 2012 *)
%Y A033111 Cf. A033093, A033095, A033097, A033099, A033101, A033103, A033105, A033107, A033109, A033112.
%K A033111 nonn,base
%O A033111 1,29
%A A033111 _Clark Kimberling_