Block subsequence theorem

The block subsequence theorem is a theorem due to Harvey Friedman unprovable in first order arithmetic. It shows that a string with a certain property involving subsequences cannot be infinite. The length of the largest string possible is a function of the alphabet size &mdash; the numbers that it generates immediately grow very large. Two numbers in the sequence, n(3) and n(4), are the subject of extensive research.

Suppose we have a string x1, x2, ... (We call such a string a Friedman string.) made of an alphabet of k letters, such that no block of letters xi, ..., x2i is a substring of any later block xj, ..., x2j.Friedman showed that such a string cannot be infinite, and for every k there is a sequence of maximal length. Call this length n(k).

Сomputation
n(k) is computable, and hence there must exists straightforward algorithm to calculate it:


 * Start with 1.
 * 1) Rewrite number with k-ary positional system and keep it.
 * 2) Increase number by 1.
 * 3) Check whether this number represents Friedman string.
 * 4) If there is no number with m digits which represents Friedman string, then n(k)=m-1.

Values

 * \(n(1) = 3\), using the string "111". "1111" does not satisfy the conditions since x1, x2 = "11" is a subsequence of x2, x3, x4 = "111".
 * \(n(2) = 11\), using the string "12221111111" or "12221111112".
 * \(n(3)\) and \(n(4)\) are much larger. The strings which they used aren't known, but Friedman gave the string "1221317321313813513201235313108" = "122131111111331313333333313333313333333333333333333311..." with length 216 for \(n(3)\).


 * Define a version of the Ackermann function as follows:
 * \(A(1, n) = 2n\)
 * \(A(k + 1, n) = 2 \uparrow^k n\)
 * \(A(n) = A(n, n)\)
 * \(A(7198, 158386) < n(3) < A(A(5))\)
 * \(n(4) > A^{A(187196)}(1)\)

It can be shown that \(n(4)\) is comparable to supertet.

Friedman has demonstrated that the growth rate of the n function lies asymptotically between \(f_{ω^ω}(n)\) and \(f_{ω^ω+1}(n)\) in the fast-growing hierarchy. Chris Bird notes that n(k) is "broadly comparable" to {3, 3, ..., 3, 3} (with k 3's) in Bowers' array notation.

n(k) is related to the TREE sequence, which grows even faster.