|
|
A293066
|
|
Number of vertices at level n of the hyperbolic Pascal pyramid PP_(4,5).
|
|
7
|
|
|
1, 3, 6, 11, 21, 44, 101, 247, 626, 1615, 4201, 10968, 28681, 75051, 196446, 514259, 1346301, 3524612, 9227501, 24157855, 63246026, 165580183, 433494481, 1134903216, 2971215121, 7778742099, 20365011126, 53316291227, 139583862501, 365435296220, 956722026101
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 5*a(n-1) - 8*a(n-2) + 5*a(n-3) - a(n-4), n >= 5.
G.f.: (1 - 2*x - x^2) / ((1 - x)^2*(1 - 3*x + x^2)).
a(n) = (2^(-1-n)*(-(-5+sqrt(5))*(3+sqrt(5))^n + (3-sqrt(5))^n*(5+sqrt(5)) + 5*2^(2+n)*n)) / 5.
(End)
|
|
MATHEMATICA
|
CoefficientList[ Series[(1 - 2x - x^2)/((x - 1)^2 (x^2 - 3x + 1)), {x, 0, 30}], x] (* or *)
|
|
PROG
|
(PARI) Vec((1 - 2*x - x^2) / ((1 - x)^2*(1 - 3*x + x^2)) + O(x^40)) \\ Colin Barker, Oct 07 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|