A221318 Number of nonnegative integer arrays of length n summing to n without equal adjacent values modulo 5.
1, 2, 7, 14, 30, 76, 185, 430, 1044, 2544, 6154, 15002, 36691, 89918, 220728, 543054, 1338428, 3302916, 8162806, 20197554, 50030332, 124053930, 307882669, 764770230, 1901144731, 4729494390, 11773517941, 29327102054, 73094698149, 182280159290
Offset: 1
Keywords
Examples
Some solutions for n=8 ..0....0....0....1....0....1....0....1....1....0....0....0....0....1....1....1 ..1....2....1....3....1....0....1....3....2....2....3....4....2....3....4....3 ..0....0....3....0....2....1....2....0....1....0....0....0....1....1....0....0 ..3....1....0....1....3....3....0....2....0....4....3....1....0....0....1....1 ..0....0....1....0....1....2....1....1....1....1....1....0....2....1....0....2 ..1....2....2....2....0....0....2....0....0....0....0....1....0....0....1....0 ..3....3....1....1....1....1....0....1....2....1....1....0....3....2....0....1 ..0....0....0....0....0....0....2....0....1....0....0....2....0....0....1....0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..210
Comments