cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-10 of 13 results. Next

A099155 Maximum length of a simple path with no chords in the n-dimensional hypercube, also known as snake-in-the-box problem.

Original entry on oeis.org

0, 1, 2, 4, 7, 13, 26, 50, 98
Offset: 0

Views

Author

Hugo Pfoertner, Oct 11 2004

Keywords

Comments

Some confusion seems to exist in the distinction between n-snakes and n-coils. Earlier papers and also A000937 used "snake" to mean a closed path, which is called n-coil in newer notation, see Harary et al. a(8) is conjectured to be 97 by Rajan and Shende. [The true value, however, is 98. See Ostergard and Ville, 2014. - N. J. A. Sloane, Apr 06 2014]
Longest open achordal path in n-dimensional hypercube.
After 50, lower bounds on the next terms are 97, 186, 358, 680, 1260. - Darren Casella (artdeco42(AT)yahoo.com), Mar 04 2005
The length of the longest known snake (open path) in dimension 8 (as of December, 2009) is 98. It was found by B. Carlson (confirmed by W. D. Potter) and soon to be reported in the literature. Numerous 97-length snakes are currently published. - W. D. Potter (potter(AT)uga.edu), Feb 24 2009

Examples

			a(3)=4: Path of a longest 3-snake starts at 000 and then visits 100 101 111 011.
a(4)=7: Path of a longest 4-snake: 0000 1000 1010 1110 0110 0111 0101 1101.
See figures 1 and 2 in Rajan-Shende.
		

References

  • B. P. Carlson, D. F. Hougen: Phenotype feedback genetic algorithm operators for heuristic encoding of snakes within hypercubes. In: Proc. 12th Annu. Conf. Genetic and Evolutionary Computation, pp. 791-798 (2010). [Shows a(8) >= 98. - N. J. A. Sloane, Apr 06 2014]
  • D. Casella and W. D. Potter, "New Lower Bounds for the Snake-in-the-box Problem: Using Evolutionary Techniques to Hunt for Coils". Submitted to IEEE Conference on Evolutionary Computing, 2005.

Crossrefs

Cf. A000937 = length of maximum n-coil.
Row maxima of A357499.

Extensions

a(8) from Patric R. J. Östergård and V. H. Pettersson (2014). - N. J. A. Sloane, Apr 06 2014
a(0) prepended by Pontus von Brömssen, Oct 02 2022

A357357 Length of the longest induced cycle in the n X n grid graph.

Original entry on oeis.org

0, 4, 8, 12, 16, 20, 32, 40, 50, 62, 76, 90, 104, 120, 140, 160, 180
Offset: 1

Views

Author

Pontus von Brömssen, Sep 25 2022

Keywords

Examples

			For 2 <= n <= 6, a longest induced cycle is the one going around the border of the grid, so a(n) = 4*(n-1).
Longest induced cycles for 6 <= n <= 8:
  X X X X X X   X X X X X X X   X X X X X X X X
  X . . . . X   X . . . . . X   X . . . . . . X
  X . . . . X   X . X X X . X   X . X X X . X X
  X . . . . X   X . X . X . X   X . X . X . X .
  X . . . . X   X . X . X . X   X . X . X . X X
  X X X X X X   X . X . X . X   X . X . X . . X
                X X X . X X X   X . X . X . . X
                                X X X . X X X X
		

Crossrefs

Main diagonal of A360915.
Cf. A000937, A297664, A331968, A357358, A360914 (number of longest induced cycles).

Formula

a(n) <= A331968(n)+1.
a(n) = 2*n^2/3 + O(n) (Beluhov 2023). - Pontus von Brömssen, Jan 30 2023

Extensions

a(9)-a(12) from Elijah Beregovsky, Nov 24 2022
a(13) from Elijah Beregovsky, Nov 25 2022
a(14)-a(17) from Andrew Howroyd, Feb 26 2023

A357620 Length of longest induced cycle (or chordless cycle) in the n-Fibonacci cube graph.

Original entry on oeis.org

0, 0, 0, 4, 4, 10, 14, 18, 30, 46
Offset: 0

Views

Author

Pontus von Brömssen, Oct 06 2022

Keywords

Crossrefs

Formula

a(n) <= A357619(n) + 2.

Extensions

a(9) from Elijah Beregovsky, Dec 03 2022

A358356 Maximum length of an induced cycle (or chordless cycle) in the n-halved cube graph.

Original entry on oeis.org

0, 0, 3, 4, 5, 8, 12, 20
Offset: 1

Views

Author

Pontus von Brömssen, Nov 12 2022

Keywords

Crossrefs

Formula

a(n) <= A358355(n)+2.

A358358 Maximum length of an induced cycle (or chordless cycle) in the n-folded cube graph.

Original entry on oeis.org

0, 3, 4, 6, 12, 24
Offset: 2

Views

Author

Pontus von Brömssen, Nov 12 2022

Keywords

Crossrefs

Formula

a(n) <= A358357(n)+2. Equality holds for 3 <= n <= 7.

A361149 Number of chordless cycles in the n-hypercube graph Q_n.

Original entry on oeis.org

0, 0, 1, 10, 224, 22176, 149137552
Offset: 0

Views

Author

Eric W. Weisstein, Mar 03 2023

Keywords

Crossrefs

Cf. A000937.

Extensions

a(6) from Pontus von Brömssen, Apr 17 2023

A289424 a(n) = length of longest circuit code K(n,3).

Original entry on oeis.org

0, 4, 6, 8, 10, 16, 24, 36
Offset: 1

Views

Author

N. J. A. Sloane, Jul 06 2017

Keywords

Crossrefs

A289425 a(n) = length of longest circuit code K(n,4).

Original entry on oeis.org

0, 4, 6, 8, 10, 12, 14, 22, 30, 46
Offset: 1

Views

Author

N. J. A. Sloane, Jul 06 2017

Keywords

Crossrefs

A289426 a(n) = length of longest circuit code K(n,5).

Original entry on oeis.org

0, 4, 6, 8, 10, 12, 14, 16, 24, 28, 40
Offset: 1

Views

Author

N. J. A. Sloane, Jul 06 2017

Keywords

Crossrefs

A357358 Length of the longest induced cycle in the n X n torus grid graph.

Original entry on oeis.org

6, 8, 15, 20, 28, 40, 48, 58, 73, 88, 104, 126
Offset: 3

Views

Author

Pontus von Brömssen, Sep 25 2022

Keywords

Comments

It is somewhat unclear how a(2) should be defined. If the 2 X 2 torus grid graph is considered to have multiple edges we have a(2) = 2 (a double edge between two nodes makes a 2-cycle), otherwise a(2) = 4.

Examples

			Longest induced cycles for 3 <= n <= 8:
  X . X   X . . X   X . X . X   X X X . . .   X . X . X . X   X . X . X X . X
  X X .   X X . .   X . X X .   X . X X X .   X . X . X X .   X . X X . X X .
  . X X   . X X .   X X . X .   X X . . X .   X . X X . X .   X X . X X . X .
          . . X X   . X . X X   . X . . X X   X X . X . X .   . X X . X . X X
                    . X X . X   . X X X . X   . X . X . X X   X . X . X X . X
                                . . . X X X   . X . X X . X   X . X X . X X .
                                              . X X . X . X   X X . X X . X .
                                                              . X X . X . X X
		

Crossrefs

Formula

a(n) ~ 2*n^2/3.
a(n) <= A357359(n) + 1.

Extensions

a(9)-a(12) from Elijah Beregovsky, Dec 11 2022
a(13)-a(14) from Elijah Beregovsky, Dec 13 2022
Showing 1-10 of 13 results. Next