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.

A043557 Number of runs in base-5 representation of n.

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