Open questions

Things I have noticed but cannot prove yet.

Short staircases in a grid

The problem

Take a grid of dots. A staircase is a set of dots that goes up one column, turns once at a dot, and then goes right along one row. Its length is the number of steps up plus the number of steps right. You are allowed to choose dots, but no h+1h+1 chosen dots may form a staircase shorter than kk. How many dots can you choose?

There is an easy answer. Give each dot the number row plus column. Every step up or right raises this number by one, so a staircase never meets the same diagonal twice. If you choose whole diagonals in a repeating pattern, hh out of every kk, no short staircase can fit. I call the best such choice md\mathit{md}. In 1972 Katona showed that on the 5 by 5 grid with h=2h = 2 and k=6k = 6, this pattern gives 9 dots, but you can actually choose 10. The true maximum is called ex\mathit{ex}, and the gap ex−md\mathit{ex} - \mathit{md} is the excess EE.

Left, two whole diagonals. Right, Katona's ten dots. Neither has 3 dots on a staircase shorter than 6.
Left, two whole diagonals. Right, Katona's ten dots. Neither has 3 dots on a staircase shorter than 6.

Katona's grid

On the 5 by 5 grid with h=2h = 2, here is what happens as kk grows. The only gap is at k=6k = 6.

k23456789
md251713109999
ex2517131010999
The two numbers agree for every $k$ except 6.
The two numbers agree for every kk except 6.

Question 1. Just after the edge

On the square grid with m+1m+1 dots per side and h=m+1h = m+1, the excess is zero at k=m+2k = m+2. I proved that. Is it at least 1 one step later, at k=m+3k = m+3, for every m≥3m \geq 3? I proved it only for m=3m = 3. The best upper bound I have is m−2m - 2.

m34567891011 to 18
md12192839526784103
ex13213041557087107
E122233344
The excess for $m$ from 3 to 18. The dashed line is the best bound I can prove.
The excess for mm from 3 to 18. The dashed line is the best bound I can prove.

So the answer is yes for every mm up to 18. The excess climbs by one about every three steps, and then it stops at 4 from m=10m = 10 to m=18m = 18. I don't know if it stays at 4. If it does, my bound of m−2m - 2 is far from the truth.

Question 2. When h=k−1h = k - 1

If hh is one less than kk, is the excess always zero? I proved it on square grids when h=m+1h = m+1. I could not make the same argument work on rectangles. I checked every grid up to 7 by 7, which is 147 cases, and found no exception.

Question 3. Short length limits

All my results are for kk larger than the longer side of the grid. When kk is smaller, can the excess ever be positive? I checked 560 such cases on grids up to 7 by 7 and the excess was zero in every one. I have no proof.

Here is the whole picture, for every grid up to 8 by 8. Switch between what I computed and what my paper proves. Hover over a cell for details, and click a numbered cell to see the dots.

Every value was found by an exact integer programming solver and proved optimal. None of the 2,268 values contradicts a theorem in the paper.

Question 4. Katona's question

Katona asked if there is a good condition in between the one that always works and the one that fails. I still don't know what that condition should be.

Checking a guess by hand

When the length limit is bigger than both sides, I proved the excess is at most a “budget” BB. You work it out from the diagonal sizes. Take h(m+1)h(m+1), then subtract the sum of the hh largest diagonals. I did these by hand and compared them with the computed excess, for k=8k = 8.

7 by 5 grid, diagonal sizes 1, 2, 3, 4, 5, 5, 5, 4, 3, 2, 1

hh(m+1)h largest diagonalssumbudget Bcomputed E
2105, 51000
3155, 5, 51500
4205, 5, 5, 41911
5255, 5, 5, 4, 42322

7 by 7 grid, diagonal sizes 1, 2, 3, 4, 5, 6, 7, 6, 5, 4, 3, 2, 1

hh(m+1)h largest diagonalssumbudget Bcomputed E
2147, 61311
3217, 6, 61921
4287, 6, 6, 52441
5357, 6, 6, 5, 52961
The budget I worked out by hand against the true excess.
The budget I worked out by hand against the true excess.

On the first grid the budget is exactly right. On the square grid it is right only once, and then the true excess stays at 1 while the budget keeps growing. So the budget is a correct upper bound but often not the answer. When is it exact? I don't know yet.

How the numbers were found. The md\mathit{md} values follow from a formula. Every ex\mathit{ex} value was computed with an exact integer programming solver in SageMath, and every family found was checked again against the staircase rule. The budget column in the last two tables I worked out by hand.