login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A221318
Number of nonnegative integer arrays of length n summing to n without equal adjacent values modulo 5
1
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,2
COMMENTS
Column 5 of A221321
LINKS
EXAMPLE
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
CROSSREFS
Sequence in context: A289408 A290519 A120739 * A221319 A221320 A221235
KEYWORD
nonn
AUTHOR
R. H. Hardin Jan 10 2013
STATUS
approved