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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A033101 Number of 4's when n is written in base b for 2<=b<=n+1. 10
0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 2, 3, 2, 4, 2, 5, 3, 3, 2, 6, 4, 3, 3, 5, 3, 7, 2, 5, 4, 4, 5, 7, 3, 4, 4, 8, 4, 8, 4, 7, 8, 4, 3, 9, 5, 7, 4, 6, 4, 8, 6, 9, 6, 6, 5, 13, 5, 5, 7, 8, 7, 9, 5, 8, 7, 11, 4, 12, 6, 7, 9, 8, 8, 10, 6, 12, 7, 6, 5, 13 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,14
LINKS
MATHEMATICA
f[n_] := Count[Flatten@ Table[ IntegerDigits[n, b], {b, 2, n + 1}], 4]; Array[f, 88] (* Robert G. Wilson v, Nov 14 2012 *)
CROSSREFS
Sequence in context: A008682 A112224 A058774 * A220413 A371128 A029217
KEYWORD
nonn,base
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | 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 April 19 10:56 EDT 2024. Contains 371791 sequences. (Running on oeis4.)