reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
for n in range(1, 13): print (a(n) ) # Indranil Ghosh, May 28 2017
proposed
editing
editing
proposed
from sympy.abc import x
approved
editing
for n in xrangerange(1, 13): print a(n) # Indranil Ghosh, May 28 2017
proposed
approved
editing
proposed
u(n,x) = u(n-1,x) + v(n-1,x),
v(n,x) = 2x*u(n-1,x) + (x+1)v(n-1,x),
As triangle T(n,k), 0 <= k <= n :
T(n,k) = 2*T(n-1,k) + T(n-1,k-1) - T(n-1,k) + T(n-2,k-1) with T(0,0) = 1, T(1,0) = 2, T(1,1) = 0 and T(n,k) = 0 if k < 0 or if k > n.
G.f.: (1-y*x)/(1 - (2+y)*x - (y-1)*x^2).
Sum_{k, =0<=k<=..n} T(n,k)*x^k = A000027(n+1), A025192(n), A001077(n), A180038(n) for x = 0, 1, 2, 3 respectively. (End)
1;
2;
3..., 3;
4..., 11..., 3;
5..., 26..., 20..., 3;
Triangle (2, -1/2, 1/2, 0, 0, 0, 0, ...) DELTA (0, 3/2, -1/2, 0, 0, 0, 0, ...) begins :
1;
2, 0;
3, 3, 0;
4, 11, 3, 0;
5, 26, 20, 3, 0;
6, 50, 74, 29, 3, 0;
7, 85, 204, 149, 38, 3, 0;
... - Philippe Deléham, Mar 03 2012
proposed
editing