A379914 Length of longest sequence over {0,1,...,n-1} containing no two consecutive blocks with the same average.
1, 3, 3, 7, 9, 19, 20, 31, 37
Offset: 1
Examples
For 1 <= n <= 9, the lexicographically least sequences achieving the given bound are as follows: n=1: 0 n=2: 010 n=3: 010 n=4: 0203202 n=5: 010343010 n=6: 0501050254520501050 n=7: 03143656151050356353 n=8: 1250673747530401046047606760502 n=9: 0323725782750730106010370572875273230
Links
- Tom Brown, Approximations of additive squares in infinite words, Integers 12 (2012), #A22.
Extensions
a(9) from Pontus von Brömssen, Jan 07 2025
Comments