login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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.
4

%I #6 Apr 19 2022 18:33:04

%S 3,9,9,27,50,27,81,222,222,81,243,867,3510,867,243,729,3123,35845,

%T 35845,3123,729,2187,10660,440451,703848,440451,10660,2187,6561,35064,

%U 4336850,19187708,19187708,4336850,35064,6561,19683,112373,45780150,342820859

%N 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.

%C Table starts

%C .....3......9........27.........81..........243..........729..........2187

%C .....9.....50.......222........867.........3123........10660.........35064

%C ....27....222......3510......35845.......440451......4336850......45780150

%C ....81....867.....35845.....703848.....19187708....342820859....6895486778

%C ...243...3123....440451...19187708...2061242739.107454380377.8271604953861

%C ...729..10660...4336850..342820859.107454380377

%C ..2187..35064..45780150.6895486778

%C ..6561.112373.429855929

%C .19683.353517

%C .59049

%H R. H. Hardin, <a href="/A222996/b222996.txt">Table of n, a(n) for n = 1..60</a>

%e Some solutions for n=3 k=4

%e ..2..2..1..1....2..0..0..1....2..2..1..2....2..2..2..0....2..1..2..0

%e ..0..0..0..0....2..2..0..2....1..0..1..1....1..0..0..1....2..1..0..2

%e ..1..1..1..2....1..1..1..2....0..0..0..1....0..0..0..1....0..0..2..1

%Y Column 1 is A000244.

%K nonn,tabl

%O 1,1

%A _R. H. Hardin_, Mar 11 2013