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.

A043564 Number of runs in base-12 representation of n.

This page as a plain text file.
%I A043564 #9 Apr 23 2021 21:54:34
%S A043564 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,1,2,2,2,2,2,2,2,
%T A043564 2,2,2,2,2,1,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,1,2,2,
%U A043564 2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2
%N A043564 Number of runs in base-12 representation of n.
%C A043564 Every positive integers occurs infinitely many times.  See A297770 for a guide to related sequences.
%t A043564 b = 12; s[n_] := Length[Split[IntegerDigits[n, b]]];
%t A043564 Table[s[n], {n, 1, 200}]
%Y A043564 Cf. A297780 (number of distinct runs), A297770.
%K A043564 nonn,base
%O A043564 0,13
%A A043564 _Clark Kimberling_