OFFSET
1,2
COMMENTS
First bisection of A175898.
LINKS
Vincenzo Librandi, 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) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) + 140 for n > 4; a(1)=1, a(2)=26, a(3)=186, a(4)=726.
G.f.: (1 + 21*x + 66*x^2 + 46*x^3 + 6*x^4)/(1-x)^5.
a(-n+1) = A181343(n). - Bruno Berselli, Aug 23 2011
MATHEMATICA
Table[(35n^4-105n^3+160n^2-120n+36)/6, {n, 30}] (* or *) LinearRecurrence[ {5, -10, 10, -5, 1}, {1, 26, 186, 726, 2031}, 30] (* Harvey P. Dale, Feb 19 2017 *)
PROG
(Magma) [ (35*n^4-105*n^3+160*n^2-120*n+36)/6: n in [1..30] ];
(PARI) a(n)=(35*n^4-105*n^3+160*n^2-120*n+36)/6 \\ Charles R Greathouse IV, Jul 06 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Oct 14 2010
STATUS
approved