OFFSET
1,1
REFERENCES
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
T. D. Noe, Table of n, a(n) for n = 1..500
Michael Fried et al., Problem E1738, Amer. Math. Monthly, 72 (1965), 1024-1025.
Simon Plouffe, Approximations de séries génératrices et quelques conjectures, Dissertation, Université du Québec à Montréal, 1992; arXiv:0911.4975 [math.NT], 2009.
Simon Plouffe, 1031 Generating Functions, Appendix to Thesis, Montreal, 1992
Index entries for linear recurrences with constant coefficients, signature (0, 4, 0, -2).
FORMULA
G.f.: see Maple program.
MAPLE
A001882:=-(-2-3*z+3*z**2+z**3)/(1-4*z**2+2*z**4); # [Simon Plouffe in his 1992 dissertation for offset 0.]
MATHEMATICA
a[1] = 2; a[2] = 3; a[n_] := a[n] = If[EvenQ[n], a[n-1] + 2*a[n-2], a[n-1] + a[n-2]]; Table[a[n], {n, 50}] (* T. D. Noe, Aug 10 2012 *)
PROG
(PARI) x='x+O('x^50); Vec((2+3*x-3*x^2-x^3)/(1-4*x^2+2*x^4)) \\ G. C. Greubel, Aug 13 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Removed the attribute "conjectured" from the Plouffe g.f. R. J. Mathar, Aug 17 2009
STATUS
approved