login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Table of n, a(n) for n=1..88.

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

Cf. A033093, A033095, A033097, A033099, A033102, A033103, A033105, A033107, A033109, A033111.

Sequence in context: A008682 A112224 A058774 * A220413 A029217 A161230

Adjacent sequences:  A033098 A033099 A033100 * A033102 A033103 A033104

KEYWORD

nonn,base

AUTHOR

Clark Kimberling

STATUS

approved

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 6 11:51 EDT 2020. Contains 333273 sequences. (Running on oeis4.)