1,2

Diagonal of A266025.

Table of n, a(n) for n=1..8.

Some solutions for n=4

..2..1..0..0....1..1..1..0....1..1..1..0....1..0..2..0....1..1..2..0

..1..2..0..0....0..1..1..2....0..1..1..1....2..1..1..2....0..2..1..2

..0..0..2..1....2..1..1..0....1..1..1..1....2..1..1..2....0..2..1..0

..0..0..1..2....0..1..1..1....2..0..2..0....0..2..0..1....0..2..1..1

Cf. A266025.

Sequence in context: A197565 A202762 A202757 * A001795 A209897 A209814

Adjacent sequences: A266015 A266016 A266017 * A266019 A266020 A266021

nonn

R. H. Hardin, Dec 20 2015

approved