The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 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. 10

%I

%S 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 27,28,30,32,35,36,39,40,43,45,47,49,54,56,59,62,67,69,75,77,81,85,88,

%U 90,97,101,105,108,112,114,120,124,131,134,137

%N 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 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 Cf. A033094, A033096, A033098, A033100, A033102, A033104, A033105, A033108, A033110, A033112.

%K nonn,base

%O 1,13

%A _Clark Kimberling_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified January 21 16:47 EST 2020. Contains 331114 sequences. (Running on oeis4.)