OFFSET
0,2
COMMENTS
M has 2 parents, 4 grandparents, and so on up to 2^n top ancestors at the top of the tree.
The genetic relatives of M are all descendants of those ancestors.
M is a genetic relative of himself or herself.
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..750
Index entries for linear recurrences with constant coefficients, signature (17,-44,28).
FORMULA
a(n) = 2^n + 7*(14^n - 1)/13.
G.f.: (8*x-1)/((x-1)*(2*x-1)*(14*x-1)). - Alois P. Heinz, Dec 04 2022
MATHEMATICA
LinearRecurrence[{17, -44, 28}, {1, 9, 109}, 25] (* Paolo Xausa, Feb 09 2024 *)
PROG
(Python) print([2**n+7*(14**n-1)//13 for n in range(10)])
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Hans Braxmeier, Nov 23 2022
STATUS
approved