OFFSET
0,2
COMMENTS
Engel expansion of cosh(1/2).
LINKS
Index entries for linear recurrences with constant coefficients, signature (3, -3, 1).
FORMULA
a(n) = a(n-1) + 32*n - 24 (with a(1)=8). - Vincenzo Librandi, Dec 15 2010
From Colin Barker, Apr 13 2012: (Start)
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n>3.
G.f.: (1 + 5*x + 27*x^2 - x^3)/(1-x)^3. (End)
MATHEMATICA
s=0; lst={s}; Do[s+=n++ +8; AppendTo[lst, s], {n, 0, 8!, 32}]; lst (* Vladimir Joseph Stephan Orlovsky, Nov 16 2008 *)
PROG
(PARI) Vec((1+5*x+27*x^2-x^3)/(1-x)^3+O(x^99)) \\ Charles R Greathouse IV, Apr 13 2012
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Mar 03 2002
STATUS
approved