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

%I #6 Apr 26 2020 20:52:42

%S 2,16,385,31985,9056598,8705322572,28373170135641,313669710008734662,

%T 11762368573382093623080,1496099103269907922278909905,

%U 645462222454558476245469903282979

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

%C Diagonal of A295716.

%e Some solutions for n=4

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

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

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

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

%Y Cf. A295716.

%K nonn

%O 1,1

%A _R. H. Hardin_, Nov 26 2017