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 2 neighbors with the same value.

A164757

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 2 neighbors with the same value.

Terms

    a(0) =50a(1) =480a(2) =1538a(3) =3496a(4) =6742a(5) =10476a(6) =14432a(7) =18120a(8) =21386

External references