a(1) = 4. To get a(n+1), write the string a(1)a(2)...a(n) as xy^k for words x and y (where y has positive length) and k is maximized, i.e., k = the maximal number of repeating blocks at the end of the sequence so far. Then a(n+1) = max(k,4).
A091844
a(1) = 4. To get a(n+1), write the string a(1)a(2)...a(n) as xy^k for words x and y (where y has positive length) and k is maximized, i.e., k = the maximal number of repeating blocks at the end of the sequence so far. Then a(n+1) = max(k,4).
Terms
- a(0) =4a(1) =4a(2) =4a(3) =4a(4) =4a(5) =5a(6) =4a(7) =4a(8) =4a(9) =4a(10) =4a(11) =5a(12) =4a(13) =4a(14) =4a(15) =4a(16) =4a(17) =5a(18) =4a(19) =4a(20) =4a(21) =4a(22) =4a(23) =5a(24) =4a(25) =4a(26) =4a(27) =4a(28) =4a(29) =5
External references
- oeis: A091844