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.

A357500 Largest number of nodes of an induced path in the n X n knight graph.

Original entry on oeis.org

1, 1, 7, 9, 15, 21, 24, 34
Offset: 1

Views

Author

Pontus von Brömssen, Oct 01 2022

Keywords

Examples

			Longest paths for 3 <= n <= 7:
  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 . .
		

References

  • Thomas Dawson, Échecs Féeriques, L'Échiquier, volume 2, issue 2, 1930; issue 3, 1931.
  • Donald E. Knuth, The Art of Computer Programming, Volume 4B, Combinatorial Algorithms, Part 2, Addison-Wesley, 2023. See exercise 7.2.2.1-172 and its solution.

Crossrefs

Formula

a(n) >= A165143(n) - 1 for n >= 3.
a(n) <= (4*(n^2+3*n-2)-1)/7 for n >= 4. - Elijah Beregovsky, Dec 22 2022
a(n) = n^2/2 + O(n) (Beluhov 2023). - Pontus von Brömssen, Jan 30 2023