A200174 Number of -1..1 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, 1, 3, 3, 2, 6, 10, 7, 12, 28, 29, 29, 70, 105, 96, 169, 327, 363, 449, 914, 1302, 1426, 2455, 4220, 5030, 6925, 12579, 17582, 21687, 36154, 57823, 73301, 106333, 179101, 250064, 332708, 538040, 825039, 1097810, 1630708, 2613839, 3676575, 5125886
Offset: 1
Keywords
Examples
All solutions for n=6 .-1...-1....1....0....1....1 ..0....0...-1....1....0...-1 ..1....1....0...-1....1....0 .-1....0...-1....0...-1....1 ..0....1....0....1....0...-1 ..1...-1....1...-1...-1....0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..200
Comments