Number of nX5 1..4 arrays with all 1s connected, all 2s connected, all 3s connected, all 4s connected, 1 in the upper left corner, 2 in the upper right corner, 3 in the lower left corner, 4 in the lower right corner, and with no element having more than 3 neighbors with the same value.

A164762

Number of nX5 1..4 arrays with all 1s connected, all 2s connected, all 3s connected, all 4s connected, 1 in the upper left corner, 2 in the upper right corner, 3 in the lower left corner, 4 in the lower right corner, and with no element having more than 3 neighbors with the same value.

Terms

    a(0) =96a(1) =3096a(2) =45892a(3) =492920a(4) =4434848a(5) =35416836a(6) =259865428a(7) =1789636604a(8) =11730206308

External references