OFFSET
1,2
COMMENTS
Binomial transform of 0,1,1,0,bar(1,-1), where bar(..) denotes a periodically repeated sequence.
If the offset is set to 0, this is the binomial transform of the quasi-finite sequence 1,2,1,1,bar(0).
LINKS
Paolo P. Lava, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
G.f. x*(x^3 - x + 1)/(x-1)^4.
EXAMPLE
Representation as binomial transform: a(4) = 11 = (1, 2, 1, 1) dot (1, 3, 3, 1) = (1 + 6 + 3 + 1).
MATHEMATICA
Table[(n^3-3n^2+14n-6)/6, {n, 60}] (* Harvey P. Dale, Mar 04 2011 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Gary W. Adamson, Sep 02 2010
EXTENSIONS
Sequence extended, nomenclature of variables normalized, g.f. multiplied by x, binomial transforms clarified - R. J. Mathar, Sep 04 2010
STATUS
approved