login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


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.
10
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, 21, 22, 24, 26, 28, 29, 32, 33, 35, 37, 39, 40, 44, 45, 47, 49, 52, 53, 56, 57, 60, 63, 65, 66, 70, 71, 74, 76, 79, 80, 84, 86, 89, 91, 93, 94, 100
OFFSET
1,17
MATHEMATICA
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 *)
KEYWORD
nonn,base
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 10:25 EDT 2024. Contains 376068 sequences. (Running on oeis4.)