login
A044947
Runs of odd length in the base 7 representation of n.
0
1, 1, 1, 1, 1, 1, 2, 0, 2, 2, 2, 2, 2, 2, 2, 0, 2, 2, 2, 2, 2, 2, 2, 0, 2, 2, 2, 2, 2, 2, 2, 0, 2, 2, 2, 2, 2, 2, 2, 0, 2, 2, 2, 2, 2, 2, 2, 0, 1, 3, 3, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 3, 3, 1, 3, 3, 3, 3, 3, 3, 3, 1, 3, 3, 3, 3, 3, 3, 3, 1, 3, 3, 3, 3, 3, 3, 3, 1, 3
OFFSET
1,7
MATHEMATICA
Table[Count[Split[IntegerDigits[n, 7]], _?(OddQ[Length[#]]&)], {n, 90}] (* Harvey P. Dale, Jul 19 2018 *)
CROSSREFS
Sequence in context: A296509 A089582 A044946 * A044948 A044949 A044950
KEYWORD
nonn,base
STATUS
approved