OFFSET
1,2
COMMENTS
Row 2 of A187162.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..50
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(n) = 6*n^3 - 6*n^2.
From Colin Barker, Apr 20 2018: (Start)
G.f.: 12*x^2*(2 + x) / (1 - x)^4.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) for n>4.
(End)
a(n) = 12 * A006002(n-1). - Alois P. Heinz, Feb 28 2022
EXAMPLE
A solution for 2 X 2 X 2:
0 0 0 0
1 0 2 0
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Mar 06 2011
STATUS
approved