OFFSET
1,2
COMMENTS
Every 0 is next to 0 4's, every 1 is next to 1 0's, every 2 is next to 2 1's, every 3 is next to 3 1's, every 4 is next to 4 1's
Table starts
...1.....3.......4..........5............9..............16................25
...3.....9......20.........71..........227.............664..............2107
...4....20......68........448.........2152...........10684.............55567
...5....71.....448.......5197........43909..........410456...........4017895
...9...227....2152......43909.......720447........11769456.........195632425
..16...664...10684.....410456.....11769456.......337295264........9869104795
..25..2107...55567....4017895....195632425......9869104795......529968166606
..39..6675..280544...37566429...3187783369....292706228390....27927270266251
..64.20696.1425111..351740354..53026008675...8642552356445..1461399711177586
.105.65029.7280350.3301443327.881220874951.253114165333694.76357681634837889
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..144
EXAMPLE
Some solutions containing all values 0 to 4 for n=6 k=4
..1..2..1..0....1..1..0..1....0..0..0..1....1..0..0..1....0..1..1..0
..0..2..1..0....0..2..0..1....0..2..1..3....3..1..1..1....2..1..4..1
..0..1..3..0....0..1..3..1....0..1..4..1....1..4..1..0....1..0..1..1
..1..4..1..1....1..4..1..0....0..3..1..0....0..1..4..1....2..1..3..0
..1..1..0..1....1..1..3..0....2..1..2..0....2..1..1..2....0..1..1..2
..0..2..1..2....0..0..1..1....1..0..0..0....1..0..0..0....1..2..0..1
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
R. H. Hardin Oct 14 2011
STATUS
approved