proposed
approved
proposed
approved
editing
proposed
Number of Lego LEGO towers, one piece per floor, where every floor is perpendicular to the one below it (so we have a kind of 3-dimensional zigzag pattern).
G.f.: x*(1 - 3*x + 2*x^2 - x^3)/(1 - 5*x + 6*x^2 - 3*x^3 + x^4).
approved
editing
editing
approved
<a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (5,-6,3,-1).
LinearRecurrence[{5, -6, 3, -1}, {0, 1, 2, 6, 20}, 30] (* Harvey P. Dale, Nov 10 2021 *)
approved
editing
proposed
approved
editing
proposed
CoefficientList[Series[x*(1 - 3*x + 2*x^2 - x^3)/(1 - 5*x + 6*x^2 - 3*x^3 + x^4), {x, 0, 30}], x] (* Wesley Ivan Hurt, Feb 12 2017 *)
approved
editing
_Ralf Stephan (ralf(AT)ark.in-berlin.de), _, May 19 2003
D. Zeilberger, <a href="http://arxivarXiv.org/abs/math.CO/9801016">[math/9801016] Automated counting of LEGO towers</a>
nonn,easy,new