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!)
A033103 Number of 5's when n is written in base b for 2<=b<=n+1. 10
0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 3, 1, 2, 2, 2, 1, 4, 2, 3, 3, 4, 2, 6, 2, 4, 3, 3, 4, 7, 2, 3, 3, 6, 3, 7, 2, 4, 5, 4, 3, 8, 3, 5, 4, 5, 3, 7, 4, 7, 4, 4, 3, 10, 4, 5, 7, 7, 6, 9, 3, 5, 4, 8, 4, 11, 3, 4, 6, 6, 6, 8, 4, 10, 7, 6, 5, 12 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,17

LINKS

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

MATHEMATICA

f[n_] := Count[Flatten@ Table[ IntegerDigits[n, b], {b, 2, n + 1}], 5]; Array[f, 90] (* Robert G. Wilson v, Nov 14 2012 *)

CROSSREFS

Cf. A033093, A033095, A033097, A033099, A033101, A033104, A033105, A033107, A033109, A033111.

Sequence in context: A045778 A320889 A296133 * A245661 A302789 A302776

Adjacent sequences:  A033100 A033101 A033102 * A033104 A033105 A033106

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 January 29 14:23 EST 2020. Contains 331338 sequences. (Running on oeis4.)