OFFSET
1,2
COMMENTS
For n >= 3, a(n) is also the number of minimal edge cuts in the n-Moebius ladder graph.
LINKS
Eric Weisstein's World of Mathematics, Minimal Edge Cut.
Eric Weisstein's World of Mathematics, Moebius Ladder.
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
a(n) = 5*a(n-1)-10*a(n-2)+10*a(n-3)-5*a(n-4)+1*a(n-5).
MATHEMATICA
Table[(2 n^3 - 6 n^2 + 19 n - 9) n/6, {n, 20}]
LinearRecurrence[{5, -10, 10, -5, 1}, {1, 7, 24, 66, 155}, 20]
CoefficientList[Series[(-1 - 2 x + x^2 - 6 x^3)/(-1 + x)^5, {x, 0, 20}], x]
PROG
(Python)
def A378023(n): return n*(n*(n*(n-3<<1)+19)-9)//6 # Chai Wah Wu, Nov 14 2024
(Magma) [(2*n^3 - 6*n^2 + 19*n - 9)*n/6 : n in [1..60]]; // Wesley Ivan Hurt, Jun 26 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Nov 14 2024
STATUS
approved
