login
Number of 5Xn 0..1 arrays with every element equal to 1, 2, 3 or 4 horizontally, diagonally or antidiagonally adjacent elements, with upper left element zero.
1

%I #4 Apr 06 2018 12:44:31

%S 0,111,2771,48980,1089035,24209608,535192095,11837195381,261930946428,

%T 5795956434998,128249104063760,2837819642235388,62793689084100491,

%U 1389463440460469952,30745265560214208511,680313952713083139457

%N Number of 5Xn 0..1 arrays with every element equal to 1, 2, 3 or 4 horizontally, diagonally or antidiagonally adjacent elements, with upper left element zero.

%C Row 5 of A302381.

%H R. H. Hardin, <a href="/A302384/b302384.txt">Table of n, a(n) for n = 1..210</a>

%e Some solutions for n=5

%e ..0..0..0..0..0. .0..0..0..0..0. .0..0..0..0..0. .0..0..0..0..0

%e ..1..0..1..1..0. .0..0..1..1..0. .0..0..1..0..0. .0..0..1..1..0

%e ..1..1..0..0..0. .0..1..1..0..1. .1..1..1..1..0. .0..1..1..1..1

%e ..0..1..1..1..1. .0..1..1..0..0. .1..0..0..0..1. .0..1..1..0..0

%e ..0..0..1..0..0. .1..0..0..1..0. .0..1..0..1..1. .1..0..0..1..1

%Y Cf. A302381.

%K nonn

%O 1,2

%A _R. H. Hardin_, Apr 06 2018