OFFSET
0,2
COMMENTS
n-th difference of a(n), a(n-1), ..., a(0) is 2^(n+5) for n=1, 2, 3, ...
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (4,-3).
FORMULA
a(n) = 32*3^n - 31. - Ralf Stephan, Feb 17 2004
From Vincenzo Librandi, Nov 11 2011: (Start)
a(n) = 3*a(n-1) + 62.
a(n) = 4*a(n-1) - 3*a(n-2).
G.f.: (1+61*x)/((1-x)*(1-3*x)). (End)
E.g.f.: exp(x)*(32*exp(2*x) - 31). - Elmo R. Oliveira, Aug 29 2024
PROG
(Magma) [32*3^n-31: n in [0..30]]; // Vincenzo Librandi, Nov 11 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved