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.

A043280 Maximal run length in base 6 representation of n.

This page as a plain text file.
%I A043280 #17 Sep 27 2023 07:33:58
%S A043280 1,1,1,1,1,1,2,1,1,1,1,1,1,2,1,1,1,1,1,1,2,1,1,1,1,1,1,2,1,1,1,1,1,1,
%T A043280 2,2,1,1,1,1,1,2,3,2,2,2,2,1,1,2,1,1,1,1,1,1,2,1,1,1,1,1,1,2,1,1,1,1,
%U A043280 1,1,2,2,1,1,1,1,1,1,2,1,1,1,1,2,2,3,2,2,2,1
%N A043280 Maximal run length in base 6 representation of n.
%H A043280 Winston de Greef, <a href="/A043280/b043280.txt">Table of n, a(n) for n = 1..10000</a>
%t A043280 A043280[n_]:=Max[Map[Length,Split[IntegerDigits[n,6]]]];Array[A043280,100] (* _Paolo Xausa_, Sep 27 2023 *)
%o A043280 (PARI) A043280(n, b=6)={my(m,c=1); while(n>0, n%b==(n\=b)%b&&c++&&next; m=max(m, c); c=1); m} \\ _M. F. Hasler_, Jul 23 2013
%Y A043280 Cf. A007092.
%Y A043280 Cf. A043276-A043290 for base-2 to base-16 analogs.
%K A043280 nonn,base
%O A043280 1,7
%A A043280 _Clark Kimberling_