A221317 Number of nonnegative integer arrays of length n summing to n without equal adjacent values modulo 4.
1, 2, 7, 14, 28, 66, 168, 378, 866, 2128, 5065, 12000, 28866, 69652, 167994, 405058, 981305, 2381232, 5776411, 14040684, 34175851, 83246764, 202960219, 495273680, 1209625253, 2956269734, 7229756488, 17692733704, 43322486571, 106136686984
Offset: 1
Keywords
Examples
Some solutions for n=7 ..0....2....1....3....0....0....0....1....0....0....2....0....3....1....0....1 ..3....0....3....2....2....1....1....0....1....1....1....5....0....0....2....2 ..0....1....0....0....0....2....0....2....0....0....0....0....1....2....0....1 ..1....3....2....1....1....1....2....1....1....3....1....1....0....0....2....0 ..0....0....0....0....0....0....1....0....0....0....0....0....1....1....1....1 ..1....1....1....1....1....1....0....1....5....3....2....1....0....3....2....0 ..2....0....0....0....3....2....3....2....0....0....1....0....2....0....0....2
Links
- R. H. Hardin, Table of n, a(n) for n = 1..210
Comments