OFFSET
0,2
COMMENTS
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..1000
Sergio Falcon, The k-Fibonacci difference sequences, Chaos, Solitons & Fractals, Volume 87, June 2016, Pages 153-157.
Tanya Khovanova, Recursive Sequences
Vincent Vatter, Growth rates of permutation classes: from countable to uncountable, arXiv:1605.04297 [math.CO], 2016. (Mentions a signed version.)
Index entries for linear recurrences with constant coefficients, signature (3,1).
FORMULA
G.f.: (1 + 2*x)/(1 - 3*x - x^2).
a(n)*a(n-2) = a(n-1)^2 + 9*(-1)^n. - Roger L. Bagula, May 17 2010
a(n) = 3^n*Sum_{k=0..n} A374439(n, k)*(1/3)^k. - Peter Luschny, Jul 26 2024
MAPLE
seriestolist(series((-2*x-1)/(x^2-1+3*x), x=0, 25));
MATHEMATICA
LinearRecurrence[{3, 1}, {1, 5}, 40] (* Harvey P. Dale, Jul 04 2013 *)
PROG
(PARI) Vec((1 + 2*x)/(1 - 3*x - x^2) + O(x^30)) \\ Andrew Howroyd, Jun 05 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Creighton Dement, Jul 24 2005
STATUS
approved