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.

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

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