OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5,5,-1).
FORMULA
MATHEMATICA
2*Fibonacci[Range[0, 30], 2]^2 (* G. C. Greubel, Aug 18 2022 *)
PROG
(Magma) [n le 3 select 2*(n-1)^2 else 5*Self(n-1) +5*Self(n-2) -Self(n-3): n in [1..31]]; // G. C. Greubel, Aug 18 2022
(SageMath) [2*lucas_number1(n, 2, -1)^2 for n in (0..30)] # G. C. Greubel, Aug 18 2022
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Creighton Dement, Feb 17 2006
EXTENSIONS
Entry revised by N. J. A. Sloane, Mar 15 2024
STATUS
approved