A200178 Number of -5..5 arrays x(0..n-1) of n elements with zero sum and no two consecutive declines, no adjacent equal elements, and no element more than one greater than the previous (random base sawtooth pattern).
1, 5, 7, 19, 31, 72, 186, 460, 891, 1934, 5241, 12431, 25680, 59390, 152436, 359303, 789835, 1853143, 4609254, 10926157, 24817557, 58735668, 144083442, 342433339, 794002110, 1892015431, 4599853709, 10962118986, 25773744159, 61646299147
Offset: 1
Keywords
Examples
Some solutions for n=6 ..5....4....3....1....4....5....3....1....2....0....3....5....3....2...-1....1 ..2....1....2....0...-1...-1...-2...-1....0....1....4...-2....0...-1....0...-1 ..3....2....3....1....0....0...-1....0....1....0....5...-1....1....0....1....0 .-3...-2...-3...-1...-1...-1....0...-1....0....1...-4....0...-1....1....0....1 .-2...-1...-2....0....0....0....1....0....1....2...-3....1....0....2....1...-1 .-5...-4...-3...-1...-2...-3...-1....1...-4...-4...-5...-3...-3...-4...-1....0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..200
Comments