A200165 T(n,k)=Number of -k..k arrays x(0..n-1) of n elements with nonzero sum and with zero through n-1 differences all nonzero.
2, 4, 0, 6, 8, 2, 8, 24, 34, 0, 10, 48, 128, 76, 2, 12, 80, 348, 576, 276, 0, 14, 120, 726, 2256, 2778, 700, 2, 16, 168, 1326, 6160, 15040, 12440, 2276, 0, 18, 224, 2180, 13888, 52486, 96884, 57992, 5992, 2, 20, 288, 3352, 27160, 145482, 438968, 631638, 262444
Offset: 1
Examples
Some solutions for n=6 k=5 ..1...-4....1....1....1...-5....1....1....2...-5...-4....2....2....2...-4....1 .-3....2....4...-5...-4....1....2...-3....1....2...-5...-5....3....3...-5....2 .-2...-1....1...-4....5...-3....4...-5...-4...-3...-3....2....1....2....1...-5 ..5...-3...-3...-2...-3....5...-2....3....2...-1...-5....3...-3....3....3...-1 .-2....5....2....2...-5....4...-5...-1...-2....5...-4...-1....5....2...-1...-3 ..3....4....5...-3...-2...-1....1....4...-1...-1....1...-2....2...-3....2...-4
Links
- R. H. Hardin, Table of n, a(n) for n = 1..113
Crossrefs
Row 2 is A033996(n-1)
Comments