A244788 T(n,k)=Number of length n 0..k arrays with each partial sum starting from the beginning no more than one standard deviation from its mean.
2, 1, 2, 2, 3, 4, 3, 6, 7, 8, 4, 13, 20, 17, 12, 5, 18, 51, 72, 41, 24, 4, 23, 88, 201, 268, 123, 36, 5, 26, 135, 454, 941, 876, 345, 72, 6, 33, 166, 851, 2424, 4153, 3236, 953, 144, 7, 48, 243, 1116, 5101, 13270, 18143, 12284, 2613, 252, 6, 57, 382, 1919, 7730, 30359, 73988
Offset: 1
Examples
Some solutions for n=10 k=4 ..1....1....1....1....1....1....1....1....1....1....1....1....1....1....1....1 ..1....1....1....1....1....1....1....1....1....1....1....1....1....1....1....1 ..2....3....2....3....2....3....3....3....4....3....4....3....2....2....4....4 ..4....4....4....2....3....2....3....3....1....4....0....1....4....4....3....1 ..3....3....2....3....2....1....1....3....1....3....3....4....2....2....1....2 ..2....0....3....1....3....4....2....4....4....0....3....2....3....1....1....3 ..4....4....3....2....4....3....4....2....0....0....1....4....3....4....4....0 ..0....4....4....1....0....0....1....1....1....2....1....2....0....4....1....0 ..4....1....0....3....0....0....2....4....3....3....3....4....3....0....4....4 ..3....0....0....3....1....4....4....0....3....2....1....2....1....4....3....3
Links
- R. H. Hardin, Table of n, a(n) for n = 1..9999
Comments