OFFSET
0,1
LINKS
Ivan Panchenko, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
a(n) = 5*A005891(n).
a(n) = a(n-1) + 25*n (with a(0)=5). - Vincenzo Librandi, Nov 30 2010
a(0)=5, a(1)=30, a(2)=80, a(n) = 3*a(n-1)-3*a(n-2)+a(n-3). - Harvey P. Dale, Oct 08 2011
G.f.: (5*(x*(x+3)+1))/(1-x)^3. - Harvey P. Dale, Oct 08 2011
E.g.f.: (5/2)*(2 + 10*x + 5*x^2)*exp(x). - G. C. Greubel, Sep 06 2017
MATHEMATICA
Table[5(5n^2+5n+2)/2, {n, 0, 40}] (* or *) LinearRecurrence[{3, -3, 1}, {5, 30, 80}, 40] (* Harvey P. Dale, Oct 08 2011 *)
PROG
(PARI) a(n)=25*n*(n+1)/2+5 \\ Charles R Greathouse IV, Jul 17 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Nov 07 2009
STATUS
approved