A snake slithers around a 4D hypercube. No two Non-Consecutive parts of its coils can be…
- User
A snake slithers around a 4D hypercube. No two Non-Consecutive parts of its coils can be on adjacent corners. What is the maximum number of corners the snake can occupy on this hypercube?
- Assistant
This puzzle is essentially the well‐known “snake‐in‐the‐box” problem for a 4‑dimensional hypercube (the 4‑cube). In this formulation, the snake is an induced path in the hypercube graph. That is, if you list the vertices (corners) that the snake occupies in order, then aside from consecutive vertices, no two vertices in the snake are allowed to be adjacent (i.e. share an edge in the hypercube).
For a 4‑dimensional hypercube there are 16 vertices in total, and exhaustive research over many decades has determined that the longest induced path (or “snake”) that can be found has 8 vertices (which means 7 edges connecting them). In other words, it is impossible to “thread” a snake along more than 8 vertices (or corners) without introducing an extra edge (a “chord”) connecting two non‐consecutive vertices.
Thus, the maximum number of corners the snake can occupy on a 4D hypercube is 8.
A Bit More Detail
- The 4‑cube (or 4‑dimensional hypercube) has 16 vertices.
- Two vertices of the hypercube are “adjacent” if their binary labels differ in exactly one position.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.