A217839 T(n,k)=Number of n element 0..1 arrays with each element the minimum of k adjacent elements of a random 0..1 array of n+k-1 elements.
2, 2, 4, 2, 4, 8, 2, 4, 7, 16, 2, 4, 7, 12, 32, 2, 4, 7, 11, 21, 64, 2, 4, 7, 11, 17, 37, 128, 2, 4, 7, 11, 16, 27, 65, 256, 2, 4, 7, 11, 16, 23, 44, 114, 512, 2, 4, 7, 11, 16, 22, 34, 72, 200, 1024, 2, 4, 7, 11, 16, 22, 30, 52, 117, 351, 2048, 2, 4, 7, 11, 16, 22, 29, 42, 81, 189, 616
Offset: 1
Examples
Some solutions for n=8 k=4 ..0....0....1....0....1....0....1....1....0....1....0....0....0....0....0....0 ..1....1....1....1....0....0....1....1....1....0....0....1....0....1....0....0 ..1....1....1....1....0....1....0....1....1....0....1....0....1....0....0....0 ..1....1....0....0....0....0....0....0....0....0....1....0....1....0....1....0 ..1....1....0....0....0....0....0....0....0....0....1....0....1....0....1....1 ..1....1....0....0....0....0....0....0....0....1....1....0....1....0....1....0 ..1....0....0....0....0....0....0....0....0....1....1....0....0....1....1....0 ..0....0....1....0....1....0....1....0....1....1....1....1....0....1....0....0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..435
Crossrefs
Formula
Empirical for columns 1-7: a(n) = 2*a(n-1) -a(n-2) +a(n-k-1)
Comments