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
Index entries for linear recurrences with constant coefficients, signature (13,-32,20).
FORMULA
a(n) = 2^n + 5*(10^n - 1)/9.
G.f.: (6*x-1)/((x-1)*(2*x-1)*(10*x-1)). - Alois P. Heinz, Dec 05 2022
MATHEMATICA
LinearRecurrence[{13, -32, 20}, {1, 7, 59}, 21] (* Hugo Pfoertner, Dec 05 2022 *)
PROG
(Python) print([2**n+5*(10**n-1)//9 for n in range(10)])
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Hans Braxmeier, Nov 23 2022
STATUS
approved