OFFSET
0,2
COMMENTS
n-th difference of a(n), a(n-1), ..., a(0) is 2^(n+4) 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) = 16*3^n - 15. - Ralf Stephan, Feb 17 2004
From Vincenzo Librandi, Nov 11 2011: (Start)
a(n) = 3*a(n-1) + 30.
a(n) = 4*a(n-1) - 3*a(n-2).
G.f.: (1+29*x)/((1-x)*(1-3*x)). (End)
E.g.f.: exp(x)*(16*exp(2*x) - 15). - Elmo R. Oliveira, Aug 29 2024
MATHEMATICA
LinearRecurrence[{4, -3}, {1, 33}, 30] (* Harvey P. Dale, Mar 16 2012 *)
PROG
(Magma) [16*3^n-15: n in [0..30]]; // Vincenzo Librandi, Nov 11 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved