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.

A043560 Number of runs in base-8 representation of n.

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