A010566
Number of 2n-step 2-dimensional closed self-avoiding paths on square lattice.
Original entry on oeis.org
0, 8, 24, 112, 560, 2976, 16464, 94016, 549648, 3273040, 19781168, 121020960, 748039552, 4664263744, 29303071680, 185307690240, 1178635456752, 7535046744864, 48392012257184, 312061600211680, 2019822009608592, 13117263660884768, 85447982919036736
Offset: 1
- B. D. Hughes, Random Walks and Random Environments, Oxford 1995, vol. 1, p. 461.
- N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
- Felix A. Pahl, Table of n, a(n) for n = 1..55 (from Iwan Jensen's computations of A002931, using a(n)=4n*A002931(n))
- M. E. Fisher and D. S. Gaunt, Ising model and self-avoiding walks on hypercubical lattices and high density expansions, Phys. Rev. 133 (1964) A224-A239.
- M. E. Fisher and M. F. Sykes, Excluded-volume problem and the Ising model of ferromagnetism, Phys. Rev. 114 (1959), 45-58.
- P. Flajolet and R. Sedgewick, Analytic Combinatorics, 2009; see page 364.
- A. J. Guttmann and I. G. Enting, The size and number of rings on the square lattice, J. Phys. A 21 (1988), L165-L172.
- Brian Hayes, How to avoid yourself, American Scientist 86 (1998) 314-319.
- B. J. Hiley and M. F. Sykes, Probability of initial ring closure in the restricted random-walk model of a macromolecule, J. Chem. Phys., 34 (1961), 1531-1537.
- Iwan Jensen, Series Expansions for Self-Avoiding Walks
- G. S. Rushbrooke and J. Eve, On Noncrossing Lattice Polygons, Journal of Chemical Physics, 31 (1959), 1333-1334.
-
A002931 = Cases[Import["https://oeis.org/A002931/b002931.txt", "Table"], {, }][[All, 2]]; a[n_] := 4n A002931[[n]];
a /@ Range[55] (* Jean-François Alcover, Jan 11 2020 *)
-
# Alex Nisnevich, Jul 22 2023
def num_continuations(path, dist):
(x, y) = path[-1]
next = [(x+1, y), (x-1, y), (x, y+1), (x, y-1)]
if dist == 1:
return (0, 0) in next
else:
return sum(num_continuations(path + [c], dist - 1) for c in next if c not in path)
def A010566(n):
return 4 * num_continuations([(0, 0), (1, 0)], 2 * n - 1) if n >= 2 else 0
A266549
Number of 2n-step 2-dimensional closed self-avoiding paths on square lattice, reduced for symmetry, i.e., where rotations and reflections are not counted as distinct.
Original entry on oeis.org
0, 1, 1, 3, 6, 25, 86, 414, 1975, 10479, 56572, 316577, 1800363, 10419605, 61061169, 361978851
Offset: 1
A057730
Number of polyominoes (A000105) with perimeter 2n.
Original entry on oeis.org
0, 1, 1, 3, 6, 25, 86, 416, 1988, 10640, 57987, 328956, 1900321, 11204350, 67042778, 406780346
Offset: 1
- Andrew Clarke, Isoperimetrical Polyominoes
- Andrew Clarke, Picture from Andrew Clarke's page showing the polyominoes of perimeters 4, 6, 8 and 10.
- Gordon Hamilton, Grade 3 area and perimeter activity
- R. J. Mathar, perimeter 10
- R. J. Mathar, perimeter 12
- R. J. Mathar, perimeter 14
- R. J. Mathar, Illustrating perimeter 16, area <= 13
- R. J. Mathar, Illustrating perimeter 18, area <= 13
- R. J. Mathar, Illustrating perimeter 20, area <= 13
a(10)-a(12) corrected and extended by
John Mason, Jul 26 2021
A334720
Number of 2-dimensional closed-loop self-avoiding paths on a square lattice where each path consists of steps with incrementing length from 1 to n.
Original entry on oeis.org
0, 0, 0, 0, 0, 0, 8, 24, 0, 0, 40, 112, 0, 0, 1376, 2008, 0, 0, 21720, 60848, 0, 0, 635544, 1517368, 0, 0, 20008456, 46010640, 0, 0, 640819936, 1571759136, 0, 0, 22704325648, 55436103264
Offset: 1
a(1) to a(6) = 0 as no closed-loop is possible.
a(7) = 8 as there is one path which forms a closed loop which can be walked in 8 different ways on a 2D square lattice. The path is:
.
5
*---.---.---.---.---*
| |
. .
| |
. . 4
| |
6 . .
| | 3
. *---.---.---*
| |
. . 2
| |
*---.---.---.---.---.---.---X---*
7 1
.
See the attached link for text images of the closed loops for other n values.
A302337
Triangle read by rows: T(n,k) is the number of 2k-cycles in the n X n grid graph (2 <= k <= floor(n^2/2), n >= 2).
Original entry on oeis.org
1, 4, 4, 5, 9, 12, 26, 52, 76, 32, 6, 16, 24, 61, 164, 446, 1100, 2102, 2436, 1874, 900, 226, 25, 40, 110, 332, 1070, 3504, 11144, 32172, 77874, 146680, 217470, 255156, 233786, 158652, 69544, 13732, 1072, 36, 60, 173, 556, 1942, 7092, 26424, 97624, 346428, 1136164, 3313812, 8342388, 18064642, 33777148, 54661008, 76165128, 89790912, 86547168, 64626638, 34785284, 12527632, 2677024, 255088
Offset: 2
Triangle begins:
1;
4, 4, 5;
9, 12, 26, 52, 76, 32, 6;
16, 24, 61, 164, 446, 1100, 2102, 2436, 1874, 900, 226;
...
So for example, the 3 X 3 grid graph has 4 4-cycles, 4 6-cycles, and 5 8-cycles.
Cf.
A003763 (number of Hamiltonian cycles in 2n X 2n grid graph).
Cf.
A301648 (number of longest cycles).
-
Flatten[Table[Tally[Length /@ FindCycle[GridGraph[{n, n}], Infinity, All]][[All, 2]], {n, 6}]] (* Eric W. Weisstein, Mar 26 2021 *)
-
# Using graphillion
from graphillion import GraphSet
import graphillion.tutorial as tl
def A302337(n):
universe = tl.grid(n - 1, n - 1)
GraphSet.set_universe(universe)
cycles = GraphSet.cycles()
return [cycles.len(2 * k).len() for k in range(2, n * n // 2 + 1)]
print([i for n in range(2, 8) for i in A302337(n)]) # Seiichi Manyama, Mar 29 2020
A316194
Number of symmetric self-avoiding polygons on square lattice with perimeter 2*n, not counting rotations and reflections as distinct.
Original entry on oeis.org
0, 1, 1, 3, 4, 16, 23, 87
Offset: 1
A006724
Number of fixed n-celled self-avoiding polygons on square lattice.
Original entry on oeis.org
1, 2, 6, 19, 63, 216, 756, 2684, 9638, 34930, 127560, 468837, 1732702, 6434322, 23993874, 89805691, 337237337, 1270123530, 4796310672, 18155586993, 68874803609, 261803388854, 996971935098, 3802944302442, 14528816598358
Offset: 1
- N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
- I. Jensen, Table of n, a(n) for n = 1..42 (from link below)
- I. G. Enting and A. J. Guttmann, On the area of square lattice polygons, J. Statist. Phys., 58 (1990), 475-484. See p. 477.
- I. Jensen, More terms
- Tomás Oliveira e Silva, Enumeration of polyominoes
- Hugo Tremblay and Julien Vernay, On the generation of discrete figures with connectivity constraints, RAIRO-Theor. Inf. Appl. (2024) Vol. 58, Art. No. 16. See p. 13.
A034010
Number of 2n-step self avoiding closed walks on square grid, restricted to a quadrant and passing through origin.
Original entry on oeis.org
0, 1, 2, 6, 20, 74, 300, 1302, 5944, 28266, 139010, 703102, 3641956, 19255106, 103630920, 566522778, 3140130354, 17620845976, 99977635264, 572935630884, 3313078283974
Offset: 1
When the number of steps is 8, one of the six closed paths is
0___.
| ._|
|_|
A302336
Linear coefficient (in absolute value) of the quadratic polynomials giving the numbers of 2k-cycles in the n X n grid graph for n >= k-1.
Original entry on oeis.org
0, 2, 6, 28, 140, 740, 4056, 22904, 132344, 778832, 4652404, 28140536, 172021360, 1061153560, 6597813620, 41307119692, 260198053200, 1647958588568, 10488324116052, 67046234983840, 430300354820176, 2771678138269600, 17912347088664868, 116113406138798112
Offset: 1
Let p(k,n) be the number of 2k-cycles in the n X n grid graph for n >= k-1. p(k,n) are quadratic polynomials in n, with the first few given by:
p(1,n) = 0,
p(2,n) = 1 - 2*n + n^2,
p(3,n) = 4 - 6*n + 2*n^2,
p(4,n) = 26 - 28*n + 7*n^2,
p(5,n) = 164 - 140*n + 28*n^2,
p(6,n) = 1046 - 740*n + 124*n^2,
p(7,n) = 6672 - 4056*n + 588*n^2,
p(8,n) = 42790 - 22904*n + 2938*n^2,
p(9,n) = 275888 - 132344*n + 15268*n^2,
...
The linear coefficients give a(n), so the first few are 0, 2, 6, 28, 140, .... - _Eric W. Weisstein_, Apr 05 2018
Cf.
A302335 (constant coefficients).
Cf.
A002931 (quadratic coefficients).
A334756
Irregular table read by rows: T(n,k) is the number of 2n-step closed self-avoiding paths on a 2D square lattice with area k, where k >= n-1.
Original entry on oeis.org
0, 8, 24, 96, 16, 360, 160, 40, 1320, 960, 528, 144, 24, 4872, 4704, 3752, 2016, 840, 224, 56, 18112, 21632, 20992, 15424, 9920, 4832, 2176, 704, 192, 32, 67248, 96192, 107712, 93312, 75096, 50112, 31104, 16416, 7848, 3168, 1080, 288, 72
Offset: 1
For n = 2, total steps = 4, there are 8 different paths with an area of 1. These are the 8 possible ways to walk the polygon:
+---+
| |
+---+
.
For n = 3, total steps = 6, there are 24 different paths with an area of 2. These are the 24 possible ways to walk the polygon:
+---+---+
| |
+---+---+
.
For n = 4, total steps = 8, there are 96 different paths with an area of 3 and 16 different paths with an area of 4. These are the possible ways to walk the polygons:
+---+ +---+---+
| | | |
+ +---+ + +
| | | |
+---+---+ for area = 3 +---+---+ for area = 4
.
For n = 5, total steps = 10, there are 360 different paths with an area of 4, 160 paths with an area of 5 and 40 different paths with an area of 6. These are the possible ways to walk the polygons:
+---+---+---+---+ +---+ +---+ +---+---+
| | | | | | | |
+---+---+---+---+ + +---+---+ +---+ +---+ +---+ +---+
| | | | | |
+---+---+---+ +---+---+---+ +---+---+ for area = 4
.
+---+---+ +---+---+---+
| | | |
+ +---+ + +
| | | |
+---+---+---+ for area = 5 +---+---+---+ for area = 6
.
Table begins:
0;
8;
24;
96,16;
360,160,40;
1320,960,528,144,24;
4872,4704,3752,2016,840,224,56;
18112,21632,20992,15424,9920,4832,2176,704,192,32;
67248,96192,107712,93312,75096,50112,31104,16416,7848,3168,1080,288,72;
249480,415040,526400,514480,468680,373280,281280,189920,120400,69120,36560,17040,7480,2720,880,240,40;
Row sums = A010566.
- A. J. Guttmann and I. G. Enting, The size and number of rings on the square lattice, J. Phys. A 21 (1988), L165-L172.
- Brian Hayes, How to avoid yourself, American Scientist 86 (1998) 314-319.
- B. J. Hiley and M. F. Sykes, Probability of initial ring closure in the restricted random-walk model of a macromolecule, J. Chem. Phys., 34 (1961), 1531-1537.
- Iwan Jensen, Series Expansions for Self-Avoiding Walks
- G. S. Rushbrooke and J. Eve, On Noncrossing Lattice Polygons, Journal of Chemical Physics, 31 (1959), 1333-1334.
- Scott R. Shannon, Data for n=1..12.
Showing 1-10 of 32 results.
Comments