OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..850
Index entries for linear recurrences with constant coefficients, signature (14,1).
FORMULA
a(n) = A000129(3n).
From R. J. Mathar, Sep 22 2008: (Start)
G.f.: 5*x/(1-14*x-x^2).
a(n) = 5*A041085(n-1). (End)
a(n) = ( (7+5*sqrt(2))^n - (7-5*sqrt(2))^n )/( 2*sqrt(2) ). - Colin Barker, Jan 25 2016
MATHEMATICA
LinearRecurrence[{14, 1}, {0, 5}, 20] (* Harvey P. Dale, Jul 05 2019 *)
Fibonacci[3*Range[0, 30], 2] (* G. C. Greubel, Apr 13 2021 *)
PROG
(PARI) concat(0, Vec(5*x/(1-14*x-x^2) + O(x^20))) \\ Colin Barker, Jan 25 2016
(Magma) [n le 2 select 5*(n-1) else 14*Self(n-1) +Self(n-2): n in [1..31]]; // G. C. Greubel, Apr 13 2021
(Sage) [lucas_number1(3*n, 2, -1) for n in (0..30)] # G. C. Greubel, Apr 13 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Sep 22 2008
EXTENSIONS
Changed offset and extended by R. J. Mathar, Sep 22 2008
STATUS
approved