|
|
A106569
|
|
a(n) = 5*a(n-1) + 3*a(n-2), where a(0) = 0, a(1) = 3.
|
|
2
|
|
|
0, 3, 15, 84, 465, 2577, 14280, 79131, 438495, 2429868, 13464825, 74613729, 413463120, 2291156787, 12696173295, 70354336836, 389860204065, 2160364030833, 11971400766360, 66338095924299, 367604681920575
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 5*a(n-1) + 3*a(n-2), a(0) = 0, a(1) = 3.
|
|
MAPLE
|
a[0]:=0: a[1]:=3: for n from 2 to 23 do a[n]:= 5*a[n-1]+3*a[n-2] od: seq(a[n], n=0..23);
|
|
MATHEMATICA
|
LinearRecurrence[{5, 3}, {0, 3}, 40] (* G. C. Greubel, Sep 07 2021 *)
|
|
PROG
|
(Magma) [n le 2 select 3*(n-1) else 5*Self(n-1) + 3*Self(n-2): n in [1..41]]; // G. C. Greubel, Sep 07 2021
(Sage) [3*lucas_number1(n, 5, -3) for n in (0..40)] # G. C. Greubel, Sep 07 2021
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,less
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|