A245851 T(n,k)=Number of length n 0..k arrays with new values introduced in order from both ends, and least squares fitting to a straight line with slope zero, with a single point taken as having zero slope.
1, 1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 2, 2, 4, 1, 1, 2, 2, 5, 4, 1, 1, 2, 2, 5, 5, 8, 1, 1, 2, 2, 5, 5, 14, 8, 1, 1, 2, 2, 5, 5, 15, 16, 20, 1, 1, 2, 2, 5, 5, 15, 17, 65, 18, 1, 1, 2, 2, 5, 5, 15, 17, 77, 77, 52, 1, 1, 2, 2, 5, 5, 15, 17, 78, 101, 356, 48, 1, 1, 2, 2, 5, 5, 15, 17, 78, 102, 551, 448, 152
Offset: 1
Examples
Some solutions for n=12 k=4 ..0....0....0....0....0....0....0....0....0....0....0....0....0....0....0....0 ..0....1....1....1....1....1....1....0....1....1....0....1....1....1....1....0 ..1....1....0....0....2....1....2....1....0....2....1....2....0....2....0....1 ..2....0....0....0....1....2....3....1....2....1....1....2....0....2....2....1 ..0....2....1....1....1....2....1....2....3....3....2....3....0....1....2....1 ..1....3....2....2....3....3....3....0....2....1....3....2....1....1....0....0 ..0....2....0....1....2....0....0....1....3....2....2....3....2....2....0....0 ..2....0....0....2....3....3....2....1....2....1....0....1....1....3....2....1 ..1....0....1....0....0....2....3....1....1....2....2....3....1....2....2....1 ..1....2....0....1....2....1....2....0....1....2....0....2....0....1....0....1 ..0....1....1....0....1....1....1....1....1....1....1....1....0....1....1....0 ..0....0....0....0....0....0....0....0....0....0....0....0....0....0....0....0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..1121
Crossrefs
Column 1 is A222955(n-2)
Comments