OFFSET
0,4
COMMENTS
The inverse binomial transform of A045883 is 0,1,1,3,1,7,...
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,3,-2).
FORMULA
a(n+1) - a(n) = (-1)^(n+1)*A078008(n).
a(n+1) - a(n) = 2*(-1)^n*A001045(n-1), n > 0.
a(n) = 3*a(n-2) - 2*a(n-3).
G.f.: -x*(1+x)/((1+2*x)*(1-x)^2). - R. J. Mathar, Nov 11 2008
MATHEMATICA
LinearRecurrence[{0, 3, -2}, {0, -1, -1}, 50] (* Paolo Xausa, Nov 14 2023 *)
PROG
(Magma) [-(1/9)-(2/3)*n+(1/9)*(-2)^n: n in [0..40]]; // Vincenzo Librandi, Aug 08 2011
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Paul Curtz, Jul 27 2008
EXTENSIONS
Edited and extended by R. J. Mathar, Nov 11 2008
STATUS
approved