login
Number of n X n 0..1 arrays with each 1 horizontally or vertically adjacent to 1, 2 or 4 1's.
0

%I #6 Apr 26 2020 20:50:51

%S 1,10,147,7071,1012315,437241277,563330031268,2154370064869978,

%T 24591601562099287015,837044464889796587986014,

%U 84914857903369744218835564258

%N Number of n X n 0..1 arrays with each 1 horizontally or vertically adjacent to 1, 2 or 4 1's.

%C Diagonal of A295531.

%e Some solutions for n=5

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

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

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

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

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

%Y Cf. A295531.

%K nonn

%O 1,2

%A _R. H. Hardin_, Nov 23 2017