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-2 of 2 results.

A156228 Number of lakes in Conway's Game of Life with 8*n cells.

Original entry on oeis.org

1, 0, 1, 1, 4, 7, 31, 98, 446, 1894, 9049, 43151
Offset: 1

Views

Author

Nathaniel Johnston, Feb 06 2009

Keywords

Comments

a(n) is also the number of walks of length 4*n on a 2D lattice with the properties that: it turns 90 degrees after every step of length 1, it is a closed loop (i.e., it ends where it started) and it never crosses itself.
In A266549, the walks are allowed to continue straight ahead. - Pontus von Brömssen, May 06 2025

Examples

			a(2) = 0 because there are no lakes with 16 cells.
		

Crossrefs

Extensions

a(11) and a(12) added by Nathaniel Johnston, Mar 09 2009

A345676 Number of closed-loop self-avoiding paths on a 2-dimensional square lattice where each path consists of steps with successive lengths equal to the square numbers, from 1 to n^2.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 368, 264, 0, 0, 1656, 5104, 0, 0, 62016, 105344, 0, 0, 1046656, 3181104
Offset: 1

Views

Author

Scott R. Shannon, Sep 04 2021

Keywords

Comments

This sequence gives the number of closed-loop self-avoiding walks on a 2D square lattice where the walk starts with a step length of 1 which then increments at each step to the next square number until the step length is n^2. No closed-loop path is possible until n = 15.
Like A334720 and A335305 the only n values that can form closed loop walks are those which correspond to the indices of even triangular numbers. Curiously though n = 16 walks form no closed loops, even though both n = 15 and n = 16 are indices of such numbers.
As in A010566 all possible paths are counted, including those that are equivalent via rotation and reflection.

Examples

			a(1) to a(14) = 0 as no closed-loop paths are possible.
a(15) = 32 as there are four different paths which form closed loops, and each of these can be walked in eight different ways on a 2D square lattice. These walks consist of steps with lengths 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196, 225. See the linked text images.
		

Crossrefs

Showing 1-2 of 2 results.