login
A044938
Number of runs of even length in the base-7 representation of n.
2
0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0
OFFSET
1,392
FORMULA
a(n) = A043559(n) - A044947(n). - Paolo Xausa, Oct 24 2025
MATHEMATICA
A044938[n_] := Count[Map[Length, Split[IntegerDigits[n, 7]]], _?EvenQ];
Array[A044938, 100] (* Paolo Xausa, Oct 24 2025 *)
KEYWORD
nonn,base,easy
STATUS
approved