What does any of this mean?
Fair question. I'll define some of the key terms I use more precisely.
Knights
Hopefully, you've seen knights from chess. They move in eight directions, following all rotations and reflections of the vector . Let's define a chess knight as a -knight, accordingly.
If we were to generalize, we could consider an -knight. Let's consider the canonical as defining a knight. The set of reachable positions following a single jump is .
Paths
Now that we have an -knight, let's place it on an infinite square tiling. Suppose it jumps around, exploring some finite section of the space. Consider all cells touched by the knight blocks, as if they were painted by the steed's hooves. This set of positions, with elements in , denotes the path a knight takes.
As a restriction, let's prevent knights from re-visiting cells. In other words, blocks block.
Groups
What natural measures are there for investigating these plotted paths? Cardinality is sadly uninteresting, as blocks . When you consider the following image, how else can you describe the plotted path?
From the above picture, it's clear that paths drawn out by an arbitrary knight are quite erratic (?) in nature. Sometimes, they form clusters which feature many adjacent blocks (like ones in the image), and often, lone blocks are left scattered (like the one at the top). Let's use this idea to define a group: a collection of edge-adjacent (contiguous) blocks.
Very pleasant. Notice that that same cluster to the of the image has been mono-colored blue. Any subset of the path traced which features adjacent blocks is considered a group. The union of these subsets forms a partitioning of the path, and the cardinality of this partioning could be of interest. Anyways, let's continue.
Move strings
In order to communicate paths succinctly, encode them with one digit per move. I use the notation as in the interactive image below, as it felt most natural (parallels to bearings, clocks, etc).
For the -knight, from the center square:
An interesting problem immediately presents itself when considering all of the above. Simply:
How few blocks must an -knight place to form a single group?
Of course, let's assume that we're discussing non-empty move strings to avoid the trivial case. I'd highly suggest that you visit the visualizer to attempt this for yourself. Maybe, try some other knights, too!
Here's a few more definitions, now referring to this website and the sharing of results.
Certificates
A certificate is a move string that shows a cell is achievable. Finding such a certificate for a knight (parametrized by , where is the block count) is an problem, and showing non-existence of certificates for a given is (as far as I'm aware). Every green cell on this site is backed by a certificate that can be investigated on the relevant page.
The results board
Each square is a knight: the one whose move 0 lands on it from the origin in the bottom-left corner, squares right and squares up. Hover over a 'landing' square to see that move. The board is symmetric, since and have the same canonical form. The number shown is the fewest blocks in a known one-group path, though more details regarding the relationship between block and group counts are available on the clicked-through page.
- Colored: the number of blocks required non-trivially to form a single group. Greener means fewer.
- Underlined number: proven to be the minimum.
- Gray : impossible, because is even (see below).
- Red : impossible, because (see below).
- Empty: open. No one-group path is known yet.
- Bottom row and left column: uninteresting knights, as one of the components is .
The table on each knight's page
Row , column answers: can a path with blocks have exactly groups?
- Green: yes, and a certificate is known.
- Red: no, and this is proven.
- Light red: invalid. A path can't have more groups than blocks ().
Useful notes
- If , every visited square inhabits the coarse lattice . Such knights never have group counts lower than the block count, as they can never mark adjacent squares.
- If (i.e. is even), the knight never changes color on a checkerboard, but squares that share an edge always differ in color.
- These definitions generalize well to higher dimensions. I plan to add more information on my investigations there. Unfortunately, classical investigations encounter computational bounds earlier due to the higher branching factors spacefaring knights have.