|
|
A071948
|
|
Triangle read by rows of numbers of paths in a lattice satisfying certain conditions.
|
|
4
|
|
|
1, 1, 2, 1, 4, 7, 1, 6, 18, 30, 1, 8, 33, 88, 143, 1, 10, 52, 182, 455, 728, 1, 12, 75, 320, 1020, 2448, 3876, 1, 14, 102, 510, 1938, 5814, 13566, 21318, 1, 16, 133, 760, 3325, 11704, 33649, 76912, 120175, 1, 18, 168, 1078, 5313, 21252, 70840, 197340, 444015
(list;
table;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
This is the table of h(n,k) in the notation of Carlitz (p.125). The triangle (with an offset of 1 rather than 0) enumerates two-line arrays of positive integers
............1 a_2 ... a_(n-1) a_n..........
............1 b_2 ... b_(n-1) b_n..........
such that a_i <= i (2 <= i <= n) and b_2 <= a_2 <= ... <= b_n <= a_n = k.
|
|
LINKS
|
|
|
FORMULA
|
T(n, k) = (n-k+1)binomial(2n+k+1, k)/(n+1) if k<=n.
Let M = the infinite square production matrix
2, 1;
3, 2, 1;
4, 3, 2, 1;
5, 4, 3, 2, 1;
...
The top row of M^n gives reversed terms of n-th row of triangle A071948; with leftmost terms of each row generating A006013 starting (1, 2, 7, 30, 143, ...). - Gary W. Adamson, Jul 07 2011
|
|
EXAMPLE
|
Triangle begins
1;
1, 2;
1, 4, 7;
1, 6, 18, 30;
1, 8, 33, 88, 143;
|
|
MAPLE
|
T := proc(n, k) if k<=n then (n-k+1)*binomial(2*n+k+1, k)/(n+1) else 0 fi end: seq(seq(T(n, k), k=0..n), n=0..10);
|
|
MATHEMATICA
|
t[n_, k_] /; k <= n := (n-k+1)*Binomial[2*n+k+1, k]/(n+1); t[_, _] = 0; Table[t[n, k], {n, 0, 10}, {k, 0, n}] // Flatten (* Jean-François Alcover, Jan 14 2014 *)
|
|
PROG
|
(Sage) # Computes the first n rows of the triangle.
D = [0 for i in (0..n+1)]; D[1] = 1
for i in (4..2*n+3) :
h = i//2 - 1
for k in (1..h) : D[k] += D[k-1]
if i%2 == 1 : print([D[z] for z in (1..h)])
|
|
CROSSREFS
|
Rows are the reversals of the rows of A092276.
|
|
KEYWORD
|
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|