OFFSET
1,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
a(n) = (2n^2 -4n +1)*(3n^2 -6n +1), n>1.
G.f.: x^2*(1+65*x+85*x^2-9*x^3+2*x^4)/(1-x)^5. - Colin Barker, Apr 25 2012
E.g.f.: (6*x^4 + 12*x^3 - x^2 + x + 1)*exp(x) - 2 x - 1. - G. C. Greubel, Dec 23 2016
EXAMPLE
a(2)=1: the (connected) square tetromino.
MATHEMATICA
Join[{0}, Table[(2 n^2 - 4 n + 1)*(3 n^2 - 6 n + 1), {n, 2, 50}]] (* or *) Join[{0}, LinearRecurrence[{5, -10, 10, -5, 1}, {1, 70, 425, 1426, 3577}, 50]] (* G. C. Greubel, Dec 23 2016 *)
PROG
(PARI) concat([0], Vec(x^2*(1+65*x+85*x^2-9*x^3+2*x^4)/(1-x)^5 + O(x^50))) \\ G. C. Greubel, Dec 23 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
David Bevan, Jul 28 2009
STATUS
approved