A379914
Length of longest sequence over {0,1,...,n-1} containing no two consecutive blocks with the same average.
Original entry on oeis.org
1, 3, 3, 7, 9, 19, 20, 31, 37
Offset: 1
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
A379999
Number of longest sequences over {0,1,...,n-1} containing no two consecutive blocks with the same average.
Original entry on oeis.org
1, 2, 8, 6, 38, 2, 12, 8, 2
Offset: 1
For 1 <= n <= 4, the following sequences are counted:
n | longest sequences
--+-----------------------------------------------------
1 | 0
2 | 010, 101
3 | 010, 012, 020, 101, 121, 202, 210, 212
4 | 0203202, 1310131, 1310313, 2023020, 2023202, 3130131
A380000
Number of sequences over {0,1,...,n-1} containing no two consecutive blocks with the same average.
Original entry on oeis.org
2, 7, 18, 163, 1454, 21837, 492116, 23699853, 1507394232
Offset: 1
For n = 3, the a(3) = 18 sequences are: (), 0, 1, 2, 01, 02, 10, 12, 20, 21, 010, 012, 020, 101, 121, 202, 210, 212.
Showing 1-3 of 3 results.
Comments