A222996 T(n,k) = Number of n X k 0..2 arrays with successive rows and columns fitting to straight lines with nondecreasing slope, with a single point array taken as having zero slope.
3, 9, 9, 27, 50, 27, 81, 222, 222, 81, 243, 867, 3510, 867, 243, 729, 3123, 35845, 35845, 3123, 729, 2187, 10660, 440451, 703848, 440451, 10660, 2187, 6561, 35064, 4336850, 19187708, 19187708, 4336850, 35064, 6561, 19683, 112373, 45780150, 342820859
Offset: 1
Examples
Some solutions for n=3 k=4 ..2..2..1..1....2..0..0..1....2..2..1..2....2..2..2..0....2..1..2..0 ..0..0..0..0....2..2..0..2....1..0..1..1....1..0..0..1....2..1..0..2 ..1..1..1..2....1..1..1..2....0..0..0..1....0..0..0..1....0..0..2..1
Links
- R. H. Hardin, Table of n, a(n) for n = 1..60
Crossrefs
Column 1 is A000244.
Comments