OFFSET
0,1
LINKS
J. Mulder, Table of n, a(n) for n = 0..2999
Index entries for linear recurrences with constant coefficients, signature (1,2).
FORMULA
a(n) = (1/3)*(2*(-1)^n + 7*2^n), with n>=0. - Paolo P. Lava, Dec 14 2009
G.f.: -(x+3) / ((x+1)*(2*x-1)). - Colin Barker, Feb 10 2015
From Paul Curtz, Jun 03 2022: (Start)
a(n) = 2^(n+1) + A078008(n).
(a(n) + a(n+1) = a(n+2) - a(n) = A005009(n).)
a(n) + a(n+3) = A175805(n).
MATHEMATICA
f[n_]:=2/(n+1); x=5; Table[x=f[x]; Numerator[x], {n, 0, 5!}] (* Vladimir Joseph Stephan Orlovsky, Mar 12 2010 *)
LinearRecurrence[{1, 2}, {3, 4}, 40] (* Harvey P. Dale, Sep 04 2013 *)
PROG
(PARI) Vec(-(x+3)/((x+1)*(2*x-1)) + O(x^100)) \\ Colin Barker, Feb 10 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Dec 04 2009
EXTENSIONS
Edited by N. J. A. Sloane, Dec 05 2009
More terms from J. Mulder (jasper.mulder(AT)planet.nl), Jan 28 2010
More terms from Max Alekseyev, Apr 24 2010
STATUS
approved