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!)
A284248 Every binary string w of length n has a subword of length a(n) that appears at least twice in w. 1
0, 0, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,6

COMMENTS

Here by "subword" we mean a contiguous block that appears inside w.

LINKS

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

FORMULA

If 2^j + j <= n <= 2^{j+1} + j then f(n) = j.

EXAMPLE

For n = 6 every binary string of length >= 6 has a length-2 subword that appears at least twice.

CROSSREFS

Sequence in context: A068549 A132173 A023968 * A204166 A227581 A263846

Adjacent sequences:  A284245 A284246 A284247 * A284249 A284250 A284251

KEYWORD

nonn

AUTHOR

Jeffrey Shallit, Mar 23 2017

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 July 8 07:34 EDT 2020. Contains 335513 sequences. (Running on oeis4.)