OFFSET
0,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..1000
José L. Ramírez, Gustavo N. Rubiano, and Rodrigo de Castro, A Generalization of the Fibonacci Word Fractal and the Fibonacci Snowflake, arXiv preprint arXiv:1212.1368 [cs.DM], 2012-2014.
Index entries for linear recurrences with constant coefficients, signature (2,1).
FORMULA
G.f.: (2-7*x)/(-1+2*x+x^2). - R. J. Mathar, Jan 04 2013
a(n) = 7*Pell(n) - 2*Pell(n+1), where Pell = A000129. - Vladimir Reshetnikov, Sep 27 2016
E.g.f.: -2*exp(x)*cosh(sqrt(2)*x) + 5*exp(x)*sinh(sqrt(2)*x)/sqrt(2). - Stefano Spezia, May 26 2024
MATHEMATICA
LinearRecurrence[{2, 1}, {-2, 3}, 40] (* Harvey P. Dale, May 30 2013 *)
Table[7 Fibonacci[n, 2] - 2 Fibonacci[n + 1, 2], {n, 0, 30}] (* Vladimir Reshetnikov, Sep 27 2016 *)
PROG
(Haskell)
a221172 n = a221172_list !! n
a221172_list = -2 : 3 : zipWith (+)
(map (* 2) $ tail a221172_list) a221172_list
-- Reinhard Zumkeller, Jan 04 2013
CROSSREFS
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Jan 04 2013
STATUS
approved