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.

A043559 Number of runs in base-7 representation of n.

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