|
|
A093044
|
|
A Jacobsthal Fibonacci product: a(n) = (2^n + 2*(-1)^n)*Fibonacci(n-1)/3.
|
|
0
|
|
|
1, 0, 2, 2, 12, 30, 110, 336, 1118, 3570, 11628, 37510, 121574, 393120, 1272646, 4117594, 13326060, 43122030, 139549054, 451585008, 1461368206, 4729073250, 15303624492, 49523533622, 160261578742, 518617270080, 1678280890550
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
Form a graph from a triangle and its midpoint triangle. This sequence counts closed walks of length n at a vertex of the original triangle.
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (1-x-5*x^2-2*x^3)/((1+x-x^2)*(1-2*x-4*x^2));
a(n) = (2^n/3+2*(-1)^n/3)*(((1+sqrt(5))/2)^(n-1)/sqrt(5)-((1-sqrt(5))/2)^(n-1)/sqrt(5)).
|
|
MATHEMATICA
|
LinearRecurrence[{1, 7, 2, -4}, {1, 0, 2, 2}, 30] (* Harvey P. Dale, Sep 01 2023 *)
|
|
PROG
|
(Magma) [(2^n + 2*(-1)^n)*Fibonacci(n-1)/3 : n in [0..30]]; // Wesley Ivan Hurt, Apr 23 2021
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|