TOPICS
Search

Snake


In the closed version of the snake-in-the-box problem, a snake is a chordless cycle in a d-hypercube graph. Every graph edge joining two of its vertices must belong to the graph cycle. Its length is its number of edges. Klee (1970) discussed the maximum length s(d) of such a closed snake and earlier bounds of Danzer and Klee (1967) and Douglas (1969).

Modern terminology reserves snake for an induced graph path, whose nonconsecutive vertices are not adjacent in the hypercube graph (Allison and Paulusma 2016). The two versions have different maxima.

For closed snakes, a lower bound is

 s(d)>=77·2^(d-8)
(1)

for d>=8 (Abbott and Katchalski 1991, Allison and Paulusma 2016). Snevily (1994) proved the upper bound

 s(d)<=2^(d-1)(1-1/(20d-41))
(2)

for d>=12 (Lukito and van Zanten 2001). Snevily (1994) also conjectured the upper bound

 s(d)<=3·2^(d-3)+2
(3)

for d>=5.

The exact closed-snake maxima s(d) for d=1, 2, ... are 0, 4, 6, 8, 14, 26, 48, 96, ... (OEIS A000937). In particular, the one-dimensional hypercube graph has no graph cycle. The corresponding open-snake maxima, measured in edges, for d=1, 2, ... are 1, 2, 4, 7, 13, 26, 50, 98, ... (OEIS A099155, Allison and Paulusma 2016).


See also

Chordless Cycle, Graph Path, Hypercube Graph

Explore with Wolfram|Alpha

References

Abbott, H. L. and Katchalski, M. "On the Snake in the Box Problem." J. Combin. Th. Ser. B 44, 12-24, 1988.Abbott, H. L. and Katchalski, M. "On the Construction of Snake in the Box Codes." Utilitas Math. 40, 97-116, 1991.Ace, T. "Snake-in-the-Box." https://minortriad.com/snake/.Allison, D. and Paulusma, D. "New Bounds for the Snake-in-the-Box Problem." 16 Jun 2016. https://arxiv.org/abs/1603.05119.Danzer, L. and Klee, V. "Length of Snakes in Boxes." J. Combin. Th. 2, 258-265, 1967.Douglas, R. J. "Some Results on the Maximum Length of Circuits of Spread k in the d-Cube." J. Combin. Th. 6, 323-339, 1969.Emelianov, P. "Snake-in-the-Box." http://mix.nsk.ru/epg/snake.html.Evdokimov, A. A. "Maximal Length of a Chain in a Unit n-Dimensional Cube." Mat. Zametki 6, 309-319, 1969.Guy, R. K. "Monthly Unsolved Problems, 1969-1987." Amer. Math. Monthly 94, 961-970, 1987.Guy, R. K. "Unsolved Problems Come of Age." Amer. Math. Monthly 96, 903-909, 1989.Guy, R. K. and Nowakowski, R. J. "Monthly Unsolved Problems, 1969-1995." Amer. Math. Monthly 102, 921-926, 1995.Kautz, W. H. "Unit-Distance Error-Checking Codes." IRE Trans. Elect. Comput. 7, 177-180, 1958.Klee, V. "What Is the Maximum Length of a d-Dimensional Snake?" Amer. Math. Monthly 77, 63-65, 1970.Lukito, A. and van Zanten, A. J. "A New Non-Asymptotic Upper Bound for Snake-in-the-Box Codes." J. Combin. Math. Combin. Comput. 39, 147-156, 2001. https://combinatorialpress.com/article/jcmcc/Volume%20039/vol-039-paper%2012.pdf.Sloane, N. J. A. Sequences A000937/M0995 and A099155 in "The On-Line Encyclopedia of Integer Sequences."Snevily, H. S. "The Snake-in-the-Box Problem: A New Upper Bound." Disc. Math. 133, 307-314, 1994. https://doi.org/10.1016/0012-365X(94)90039-6.Solov'jeva, F. I. "An Upper Bound for the Length of a Cycle in an n-Dimensional Cube." Diskret. Analiz. 45, 1987.

Referenced on Wolfram|Alpha

Snake

Cite this as:

Weisstein, Eric W. "Snake." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Snake.html

Subject classifications