%I #6 Jun 15 2020 11:22:42
%S 0,3,15,40,177,1116,7964,89543,1367704,32451809,1028816587
%N Number of n X n 0..1 arrays with every element equal to 1, 2, 4, 6 or 7 king-move adjacent elements, with upper left element zero.
%C Diagonal of A298660.
%e Some solutions for n=5
%e ..0..1..0..0..1. .0..0..0..0..0. .0..1..1..1..1. .0..0..0..0..1
%e ..0..1..1..1..0. .1..1..1..1..1. .0..0..1..1..0. .1..1..1..1..1
%e ..0..1..1..1..0. .0..0..0..0..0. .1..1..1..1..0. .0..1..1..0..0
%e ..0..1..0..1..0. .1..1..1..1..1. .1..0..0..0..1. .0..1..1..1..1
%e ..1..0..1..0..1. .0..0..0..0..0. .0..0..0..1..0. .1..1..1..0..0
%Y Cf. A298660.
%K nonn
%O 1,2
%A _R. H. Hardin_, Jan 24 2018