|
|
A156017
|
|
Schroeder paths with two rise colors and two level colors.
|
|
4
|
|
|
1, 4, 24, 176, 1440, 12608, 115584, 1095424, 10646016, 105522176, 1062623232, 10840977408, 111811534848, 1163909087232, 12212421230592, 129027376349184, 1371482141884416, 14656212306231296, 157369985643577344, 1696975718802522112, 18369603773021552640
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
a(n-1) is also the number of ways a list of n items can be grouped into nested sublists (e.g., [a b c] to [a b c], [[a] b c], [[a, b] c], [[a [b]] c], and so on). - Ryan Tosh, Nov 10 2021
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (1-2x-sqrt(1-12x+4x^2))/(4x);
G.f.: 1/(1-2x-2x/(1-2x-2x/(1-2x-2x/(1-... (continued fraction);
Conjecture: (n+1)*a(n) +6*(1-2*n)*a(n-1) +4*(n-2)*a(n-2) = 0. - R. J. Mathar, Nov 14 2011
a(n) ~ sqrt(4+3*sqrt(2))*(6+4*sqrt(2))^n/(2*sqrt(Pi)*n^(3/2)). - Vaclav Kotesovec, Oct 20 2012
G.f.: 1/Q(0) where Q(k) = 1 + k*(1-2*x) - 2*x - 2*x*(k+1)*(k+2)/Q(k+1); (continued fraction). - Sergei N. Gladkovskii, Mar 14 2013
a(n) = 2^n*hypergeom([-n, n + 1], [2], -1). - Peter Luschny, Nov 25 2020
|
|
MAPLE
|
A156017_list := proc(n) local j, a, w; a := array(0..n); a[0] := 1;
for w from 1 to n do a[w] := 2*(a[w-1]+add(a[j]*a[w-j-1], j=0..w-1)) od;
|
|
MATHEMATICA
|
CoefficientList[Series[(1-2*x-Sqrt[1-12*x+4*x^2])/(4*x), {x, 0, 20}], x] (* Vaclav Kotesovec, Oct 20 2012 *)
a[n_] := 2^n Hypergeometric2F1[- n, n + 1, 2, -1];
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|