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.

A343307 a(n) is the number of self-avoiding paths connecting consecutive corners of an n X n triangular grid.

Original entry on oeis.org

1, 2, 10, 108, 2726, 168724, 25637074, 9454069104, 8461610420420, 18438745892175008, 97929194419509169380, 1267379450261470833222676, 39964658780097197018058705552, 3071011528804416058638501563820092, 575150143830631835000028468717331605240
Offset: 1

Views

Author

Rémy Sigrist, Apr 11 2021

Keywords

Comments

We use unit moves parallel to the triangle edges.

Examples

			For n = 3:
- we have the following paths:
.                         .
.
.                       .   .
.
.                     o---o---o
.
.
.          .              .              .
.
.        o   .          o   o          .   o
.       / \            / \ / \            / \
.      o   o---o      o   o   o      o---o   o
.
.
.          .              .              .
.
.        o---o          o---o          o---o
.       /   /          /     \          \   \
.      o   o---o      o   .   o      o---o   o
.
.
.          o              o              o
.         / \            / \            / \
.        o   o          o   o          o   o
.       /   /          /     \          \   \
.      o   o---o      o   .   o      o---o   o
- so a(3) = 10.
		

Crossrefs

Programs

  • Python
    # See Links section.

Extensions

a(14)-a(15) from Andrew Howroyd, Feb 04 2022