A252876 T(n,k) = Number of n X k nonnegative integer arrays with upper left 0 and lower right n+k-4 and value increasing by 0 or 1 with every step right or down.
0, 0, 0, 1, 1, 1, 3, 8, 8, 3, 6, 26, 44, 26, 6, 10, 61, 153, 153, 61, 10, 15, 120, 413, 615, 413, 120, 15, 21, 211, 949, 1953, 1953, 949, 211, 21, 28, 343, 1948, 5281, 7313, 5281, 1948, 343, 28, 36, 526, 3676, 12686, 23203, 23203, 12686, 3676, 526, 36, 45, 771, 6497, 27805, 64920, 85801, 64920, 27805, 6497, 771, 45
Offset: 1
Examples
Some solutions for n=3 k=4 ..0..1..1..1....0..0..1..1....0..1..2..3....0..0..1..1....0..0..1..1 ..1..1..2..2....0..1..1..2....1..1..2..3....0..0..1..2....0..1..2..2 ..1..1..2..3....1..2..2..3....1..2..2..3....1..1..2..3....1..1..2..3
Links
- Alois P. Heinz, Table of n, a(n) for n = 1..2850 (first 479 terms from R. H. Hardin)
- R. J. Mathar, Counting 2-way monotonic terrace forms over rectangular landscapes, vixra 1511.0225 (2015)
Crossrefs
Formula
Empirical for column k:
k=1: a(n) = (1/2)*n^2 - (3/2)*n + 1
k=2: a(n) = (1/24)*n^4 + (5/12)*n^3 - (13/24)*n^2 - (11/12)*n + 1,
k=3: [polynomial of degree 6]
k=4: [polynomial of degree 8]
k=5: [polynomial of degree 10]
k=6: [polynomial of degree 12]
k=7: [polynomial of degree 14]
Empirical: with "n+k-3" instead of "n+k-4" T(n,k) = binomial(n+k,k) - 2.
Comments