OFFSET
0,2
COMMENTS
n-th difference of a(n), a(n-1), ..., a(0) is 2^(n+7) 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
From Vincenzo Librandi, Nov 11 2011: (Start)
a(n) = 128*3^n - 127.
a(n) = 3*a(n-1) + 254.
a(n) = 4*a(n-1) - 3*a(n-2).
G.f.: (1+253*x)/((1-x)*(1-3*x)). (End)
E.g.f.: exp(x)*(128*exp(2*x) - 127). - Elmo R. Oliveira, Aug 29 2024
PROG
(Magma) [128*3^n-127: n in [0..30]]; // Vincenzo Librandi, Nov 11 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved