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.

A033106 Number of 6'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 A033106 #7 Nov 15 2012 04:27:13
%S A033106 0,0,0,0,0,1,1,1,1,1,1,1,2,3,4,5,6,7,8,10,11,13,14,16,17,19,21,23,24,
%T A033106 27,28,30,32,35,36,39,40,43,45,47,49,54,56,59,62,67,69,75,77,81,85,88,
%U A033106 90,97,101,105,108,112,114,120,124,131,134,137
%N A033106 Number of 6's when k is written in base b for all b and k satisfying 2<=b<=n+1, 1<=k<=n.
%t A033106 f[n_] := Count[ Flatten@ Table[ IntegerDigits[k, b], {k, n}, {b, 2, n + 1}], 6] - (n - 6); f[1] = f[2] = f[3] = f[4] = f[5] = 0; Array[f, 64] (* _Robert G. Wilson v_, Nov 14 2012 *)
%Y A033106 Cf. A033094, A033096, A033098, A033100, A033102, A033104, A033105, A033108, A033110, A033112.
%K A033106 nonn,base
%O A033106 1,13
%A A033106 _Clark Kimberling_