OFFSET
1,2
COMMENTS
Equals binomial transform of [1, 3, 4, 3, 0, 0, 0, ...]. Example: a(4) = 25 = (1, 3, 3, 1) dot (1, 3, 4, 3) = (1 + 9 + 12 + 3). - Gary W. Adamson, Jul 25 2008
REFERENCES
S. M. Losanitsch, Die Isomerie-Arten bei den Homologen der Paraffin-Reihe, Chem. Ber. 30 (1897), 1917-1926.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
S. M. Losanitsch, Die Isomerie-Arten bei den Homologen der Paraffin-Reihe, Chem. Ber. 30 (1897), 1917-1926. (Annotated scanned copy)
Index entries for linear recurrences with constant coefficients, signature (4, -6, 4, -1).
FORMULA
a(n) = (n^3 - 2n^2 + 5n - 2)/2.
G.f.: (x^3+x^2+1)/(x-1)^4. - Harvey P. Dale, Jun 15 2011
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4), with a(0)=1, a(1)=4, a(2)=11, a(3)=25. - Harvey P. Dale, Jun 15 2011
MAPLE
MATHEMATICA
Table[Binomial[n+2, 3]+Binomial[n, 3]+Binomial[n-1, 3], {n, 50}] (* or *) LinearRecurrence[{4, -6, 4, -1}, {1, 4, 11, 25}, 50] (* Harvey P. Dale, Jun 15 2011 *)
PROG
(PARI) a(n) = (n^3 - 2*n^2 + 5*n - 2)/2 \\ Charles R Greathouse IV, Feb 10 2017
CROSSREFS
KEYWORD
nonn,easy,nice
AUTHOR
EXTENSIONS
Terms added by Wesley Ivan Hurt, Feb 09 2014
STATUS
approved