login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Number of n X n 0..1 arrays with every element equal to 0, 1, 2 or 4 king-move adjacent elements, with upper left element zero.
0

%I #6 May 03 2020 15:39:18

%S 1,7,20,36,114,253,433,734,1037,1882,2897,4474,4556,9490,7864,13478,

%T 31282,20470,123291,55794,102050,328168,112445

%N Number of n X n 0..1 arrays with every element equal to 0, 1, 2 or 4 king-move adjacent elements, with upper left element zero.

%C Diagonal of A297889.

%e Some solutions for n=7

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

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

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

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

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

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

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

%Y Cf. A297889.

%K nonn

%O 1,2

%A _R. H. Hardin_, Jan 07 2018