A221320 Number of nonnegative integer arrays of length n summing to n without equal adjacent values modulo 7.
1, 2, 7, 14, 30, 76, 188, 444, 1075, 2656, 6499, 15904, 39257, 97012, 239836, 594484, 1476309, 3670470, 9137025, 22774518, 56827616, 141930316, 354803429, 887699408, 2222657891, 5569118954, 13963300515, 35031289966, 87937202200, 220862633536
Offset: 1
Keywords
Examples
Some solutions for n=10 ..1....0....0....3....0....1....0....0....1....1....2....1....1....1....1....0 ..2....2....2....2....2....0....3....2....3....0....0....0....0....0....0....1 ..1....0....3....1....0....1....1....1....0....1....1....1....1....1....2....2 ..2....2....0....0....1....0....0....0....1....0....2....4....2....3....0....0 ..0....0....1....1....3....3....2....2....3....2....1....1....1....0....1....1 ..1....2....0....0....0....0....0....0....0....1....0....0....0....2....0....0 ..2....0....1....1....1....4....3....2....1....4....2....2....2....0....3....3 ..0....2....0....0....0....0....0....1....0....0....0....0....1....2....0....0 ..1....0....1....2....3....1....1....2....1....1....2....1....0....1....2....3 ..0....2....2....0....0....0....0....0....0....0....0....0....2....0....1....0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..210
Comments