A326347 Number of unordered pairs of 4-colorings of an n-cycle that differ in the coloring of exactly one vertex.
36, 240, 780, 2952, 10164, 35040, 118044, 393720, 1299012, 4251600, 13817388, 44641128, 143488980, 459165120, 1463588412, 4649045976, 14721978468, 46490458800, 146444944716, 460255541064, 1443528741876, 4518872583840, 14121476823900, 44059007691192
Offset: 3
Links
- Andrew Howroyd, Table of n, a(n) for n = 3..200
- Eric Weisstein's World of Mathematics, Cycle Graph
- Index entries for linear recurrences with constant coefficients, signature (4,2,-12,-9).
Programs
-
PARI
a(n) = 6*n*(3^(n-2) + (-1)^n);