login
The OEIS is supported by
the many generous donors to the OEIS Foundation
.
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:
A296133
A338649
A337176
*
A245661
A302789
A346089
Adjacent sequences:
A033100
A033101
A033102
*
A033104
A033105
A033106
KEYWORD
nonn
,
base
AUTHOR
Clark Kimberling
STATUS
approved