OFFSET
2,1
REFERENCES
V. B. Priezzhev, Series expansion for rectilinear polymers on the square lattice, J. Phys. A 12 (1979), 2131-2139.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Index entries for linear recurrences with constant coefficients, signature (5, -10, 10, -5, 1).
FORMULA
G.f.: (7 + 28x + 9 x^2 ) / ( 1 - x )^5.
a(n)=n(n-1)(11n^2-13n+3)/6 - T. D. Noe, Feb 09 2007
a(2)=7, a(3)=63, a(4)=254, a(5)=710, a(6)=1605, a(n)=5*a(n-1)- 10*a(n-2)+ 10*a(n-3)-5*a(n-4)+a(n-5). - Harvey P. Dale, Oct 17 2012
MATHEMATICA
Table[(n(n-1)(11n^2-13n+3))/6, {n, 2, 40}] (* or *) LinearRecurrence[ {5, -10, 10, -5, 1}, {7, 63, 254, 710, 1605}, 40] (* Harvey P. Dale, Oct 17 2012 *)
PROG
(PARI) a(n)=n*(n-1)*(11*n^2-13*n+3)/6 \\ Charles R Greathouse IV, Oct 21 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved