close
login
A384294
The number of Hamiltonian cycles in the concentric ring graph of order n.
1
6, 12, 30, 34, 56, 108, 150, 244, 418, 642, 1040, 1712, 2726, 4412, 7174, 11554, 18696, 30292, 48950, 79204, 128202, 207362, 335520, 542936, 878406, 1421292, 2299758, 3720994, 6020696, 9741756, 15762390, 25504084, 41266546, 66770562, 108037040, 174807680, 282844646, 457652252, 740496982, 1198149154, 1938646056
OFFSET
3,1
COMMENTS
The concentric ring graph of order n is a cubic graph with 4n vertices and 6n edges. If we name the vertices a_j,b_j,c_j,d_j for 0<=j<n, the edges are a_j--a_j', a_j--b_j, b_j--c_j, c_j--b_j', c_j--d_j, and d_j--d_j', where j'=(j+1)mod n.
When n=5 it is isomorphic to the graph of the dodecahedron, which Hamilton used when he first considered "Hamiltonian cycles".
REFERENCES
Donald E. Knuth, Prefascicle 8a of The Art of Computer Programming (planned to become part of Volume 4C).
FORMULA
a(n) = 2*Lucas(n) - 2 + 2*n*[Mod(n,3)==2], where [ ] denotes the Iverson bracket.
G.f.: -2*x^3*(3+3*x+6*x^2-10*x^3-10*x^4-3*x^5+4*x^6+4*x^7) / ( (x^2+x-1)*(x-1)^2*(1+x+x^2)^2 ). - R. J. Mathar, May 26 2025
EXAMPLE
The a[3]=6 cycles when n=3 are:
a0--a1--a2--b2--c1--b1--c0--d0--d1--d2--c2--b0--a0,
a0--a1--a2--b2--c2--d2--d0--d1--c1--b1--c0--b0--a0,
a0--a1--b1--c0--b0--c2--d2--d0--d1--c1--b2--a2--a0,
a0--a1--b1--c1--d1--d2--d0--c0--b0--c2--b2--a2--a0,
a0--b0--c0--d0--d1--d2--c2--b2--c1--b1--a1--a2--a0,
a0--b0--c2--b2--c1--d1--d2--d0--c0--b1--a1--a2--a0.
MATHEMATICA
a[n_]:=2LucasL[n]-2+If[Mod[n, 3]==2, 2n, 0]; Array[a, 41, 3]
CROSSREFS
Cf. A000032 (Lucas numbers).
Sequence in context: A242949 A341637 A143272 * A153877 A229491 A263676
KEYWORD
nonn,easy
AUTHOR
Don Knuth, May 24 2025
STATUS
approved