|
|
A358599
|
|
Number of genetic relatives of a person M in a genealogical tree extending back n generations and where everyone has 5 children down to the generation of M.
|
|
4
|
|
|
1, 7, 59, 563, 5571, 55587, 555619, 5555683, 55555811, 555556067, 5555556579, 55555557603, 555555559651, 5555555563747, 55555555571939, 555555555588323, 5555555555621091, 55555555555686627, 555555555555817699, 5555555555556079843, 55555555555556604131
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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
|
|
|
FORMULA
|
a(n) = 2^n + 5*(10^n - 1)/9.
|
|
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
|
|
|
STATUS
|
approved
|
|
|
|