login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A043284 Maximal run length in base-10 representation of n. 5
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,11

COMMENTS

The first term larger than 2 is a(111) = 3. - M. F. Hasler, Jul 21 2013

LINKS

Table of n, a(n) for n=1..100.

FORMULA

For n < 111, a(n) = 1 except for a(n) = 2 when n==0 (mod 11) or n = 100. - M. F. Hasler, Jul 21 2013

PROG

(PARI) A043284(n)={my(m, c=1); while(n>0, n%10==(n\=10)%10 && c++ && next; m=max(m, c); c=1); m} \\ M. F. Hasler, Jul 23 2013

CROSSREFS

Cf. A043276-A043290 for base-2 to base-16 analogs.

Cf. A030556-A030561, A030575-A030580 (related to base-6 run lengths).

Cf. A227186, A227188, A101211, A005811 (related to base-2 run lengths).

Sequence in context: A110503 A030556 A083230 * A030575 A280940 A131789

Adjacent sequences:  A043281 A043282 A043283 * A043285 A043286 A043287

KEYWORD

nonn,base

AUTHOR

Clark Kimberling

EXTENSIONS

Data completed up to a(100), first difference with A083230, by M. F. Hasler, Oct 18 2019

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 4 15:50 EDT 2020. Contains 336202 sequences. (Running on oeis4.)