OFFSET
1,5
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..1000
FORMULA
G.f.: (x-1)^2*x^2/(1-2*x+x^4+x^5).
EXAMPLE
a(7) = 5: [2,2,3], [2,3,2], [2,5], [3,2,2], [5,2].
MAPLE
a:= n-> (<<0|1|0|0|0>, <0|0|1|0|0>, <0|0|0|1|0>, <0|0|0|0|1>, <-1|-1|0|0|2>>^n. <<0, 0, 1, 0, 1>>)[1, 1]: seq (a(n), n=1..50);
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Nov 13 2011
STATUS
approved