OFFSET
1,2
COMMENTS
Every 0 is next to zero 2's, every 1 is next to one 1's, every 2 is next to two 2's, every 3 is next to three 3's, every 4 is next to four 4's.
Table starts:
..1....2.....3.......4........6..........9..........13............19
..2....5.....9......20.......41.........85.........178...........369
..3....9....25......75......213........621........1801..........5219
..4...20....75.....314.....1283.......5311.......21803.........89640
..6...41...213....1283.....7358......42604......246463.......1427278
..9...85...621....5311....42604.....349511.....2856711......23313460
.13..178..1801...21803...246463....2856711....32855368.....378154308
.19..369..5219...89640..1427278...23313460...378154308....6141909014
.28..769.15133..369032..8257394..190423461..4356726770...99754551113
.41.1600.43867.1517961.47782109.1555501171.50163397373.1619739781963
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..420
EXAMPLE
Some solutions for n=6, k=4:
..0..0..1..1....1..0..1..1....0..1..0..0....0..0..0..0....1..1..0..0
..0..1..0..0....1..0..0..0....0..1..0..0....0..0..1..1....0..0..1..1
..0..1..0..1....0..1..0..1....0..0..0..0....0..0..0..0....0..0..0..0
..0..0..0..1....0..1..0..1....0..0..0..0....0..0..0..0....0..0..0..0
..0..0..0..0....1..0..0..0....1..1..0..0....0..0..1..1....1..1..0..0
..1..1..0..0....1..0..1..1....0..0..0..0....0..0..0..0....0..0..1..1
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
R. H. Hardin, Oct 02 2011
STATUS
approved