Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
How many squares must a binary sequence contain? - MaRDI portal

How many squares must a binary sequence contain? (Q1346736)

From MaRDI portal





scientific article; zbMATH DE number 741557
Language Label Description Also known as
English
How many squares must a binary sequence contain?
scientific article; zbMATH DE number 741557

    Statements

    How many squares must a binary sequence contain? (English)
    0 references
    0 references
    0 references
    6 April 1995
    0 references
    Summary: Let \(g(n)\) be the length of a longest binary string containing at most \(n\) distinct squares (two identical adjacent substrings). Then \(g(0)=3\) (010 is such a string), \(g(1)= 7\) (0001000) and \(g(2)= 18\) (010011000111001101). How does the sequence \(\{g(n)\}\) behave? We give a complete answer.
    0 references
    length
    0 references
    longest binary string
    0 references
    distinct squares
    0 references

    Identifiers