A099557 Slanted Pascal's triangle, read by rows, such that T(n,k) = binomial(n-[k/2],k) for [n*2/3]>=k>=0, where [x]=floor(x).
1, 1, 1, 1, 2, 0, 1, 3, 1, 0, 1, 4, 3, 1, 0, 1, 5, 6, 4, 0, 0, 1, 6, 10, 10, 1, 0, 0, 1, 7, 15, 20, 5, 1, 0, 0, 1, 8, 21, 35, 15, 6, 0, 0, 0, 1, 9, 28, 56, 35, 21, 1, 0, 0, 0, 1, 10, 36, 84, 70, 56, 7, 1, 0, 0, 0, 1, 11, 45, 120, 126, 126, 28, 8, 0, 0, 0, 0
Offset: 0
Examples
Rows begin: [1], [1,1], [1,2,0], [1,3,1,0], [1,4,3,1,0], [1,5,6,4,0,0], [1,6,10,10,1,0,0], [1,7,15,20,5,1,0,0], [1,8,21,35,15,6,0,0,0], [1,9,28,56,35,21,1,0,0,0], [1,10,36,84,70,56,7,1,0,0,0],... and can be derived from Pascal's triangle by shifting each column k down by [k/2] rows.
Programs
-
PARI
{T(n,k)=polcoeff(polcoeff((1-x+x*y)/((1-x)^2-x^3*y^2)+x*O(x^n),n,x)+y*O(y^k),k,y)}
Formula
G.f.: (1-x+x*y)/((1-x)^2-x^3*y^2).
Comments