cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A043558 Number of runs in base-6 representation of n.

This page as a plain text file.
%I A043558 #9 Feb 04 2018 12:35:44
%S A043558 1,1,1,1,1,1,2,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1,2,2,2,2,2,
%T A043558 2,1,2,3,3,3,3,3,2,1,2,2,2,2,3,3,2,3,3,3,3,3,3,2,3,3,3,3,3,3,2,3,3,3,
%U A043558 3,3,3,2,2,3,3,3,3,3,3,2,3,3,3,3,2,2,1,2,2,2
%N A043558 Number of runs in base-6 representation of n.
%C A043558 Every positive integers occurs infinitely many times.  See A297770 for a guide to related sequences.
%t A043558 b = 6; s[n_] := Length[Split[IntegerDigits[n, b]]];
%t A043558 Table[s[n], {n, 1, 200}]
%Y A043558 Cf. A297774 (number of distinct runs), A297770.
%K A043558 nonn,base
%O A043558 0,7
%A A043558 _Clark Kimberling_
%E A043558 Updated by _Clark Kimberling_, Feb 03 2018