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.

A226595 Lengths of maximal nontouching increasing paths in n X n grids.

Original entry on oeis.org

0, 2, 4, 7, 9, 12, 15, 17, 20, 24, 27, 29, 33, 36, 39
Offset: 1

Views

Author

Keywords

Comments

The path is not allowed to touch itself, not even on single points. "Increasing" means that the (Euclidean) length of each line segment must be strictly longer than the last.

Examples

			An example for a(8)=17
-------------------------
01 02  .  .  .  . 05  .
..  . 03  . 04  .  . 18
09 07  .  . 06  .  . 16
..  .  .  .  .  .  . 14
..  .  .  .  .  .  . 12
..  . 08  .  .  .  .  .
10 17 15 13  .  .  .  .
..  .  .  . 11  .  .  .
-------------------------
		

Crossrefs

Cf. A226596.

Formula

a(n) <= A226596(n) <= A160663(n-1).

Extensions

a(10)-a(12) from Joseph DeVincentis via Charles R Greathouse IV, Oct 08 2015
a(13) from Charles R Greathouse IV, Oct 25 2015 using code from Joseph DeVincentis
a(14)-a(15) from Bert Dobbelaere, Oct 05 2018