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.

A033110 Number of 8'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 A033110 #7 Nov 15 2012 04:27:44
%S A033110 0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,2,3,4,5,6,7,8,9,10,12,13,15,16,18,19,
%T A033110 21,22,24,26,28,29,32,33,35,37,39,40,44,45,47,49,52,53,56,57,60,63,65,
%U A033110 66,70,71,74,76,79,80,84,86,89,91,93,94,100
%N A033110 Number of 8's when k is written in base b for all b and k satisfying 2<=b<=n+1, 1<=k<=n.
%t A033110 f[n_] := Count[ Flatten@ Table[ IntegerDigits[k, b], {k, n}, {b, 2, n + 1}], 8] - (n - 8); f[1] = f[2] = f[3] = f[4] = f[5] = f[6] = f[7] = 0; Array[f, 68] (* _Robert G. Wilson v_, Nov 14 2012 *)
%Y A033110 Cf. A033094, A033096, A033098, A033100, A033102, A033104, A033106, A033108, A033109, A033112.
%K A033110 nonn,base
%O A033110 1,17
%A A033110 _Clark Kimberling_