login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A043568
Number of runs in base-16 representation of n.
3
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2
OFFSET
0,17
COMMENTS
Differs from A043543 if we consider for example numbers which are palindromic in base 16 with 3 (2 distinct) digits. - R. J. Mathar, Oct 20 2008
Every positive integers occurs infinitely many times. See A297770 for a guide to related sequences. - Clark Kimberling, Feb 04 2018
LINKS
MATHEMATICA
b = 16; s[n_] := Length[Split[IntegerDigits[n, b]]];
Table[s[n], {n, 0, 200}]
CROSSREFS
Cf. A297783 (number of distinct runs), A297770.
Sequence in context: A043542 A043567 A297784 * A043543 A237684 A130634
KEYWORD
nonn,base
STATUS
approved