login
T(n,k)=Number of nXk binary arrays with some element plus some horizontally, vertically or antidiagonally adjacent neighbor totalling two exactly once.
8

%I #4 Feb 13 2016 12:26:53

%S 0,1,1,2,5,2,5,17,17,5,10,48,72,48,10,20,131,302,302,131,20,38,338,

%T 1144,1714,1144,338,38,71,850,4207,9085,9085,4207,850,71,130,2091,

%U 14984,46195,67100,46195,14984,2091,130,235,5061,52335,228384,477128,477128,228384

%N T(n,k)=Number of nXk binary arrays with some element plus some horizontally, vertically or antidiagonally adjacent neighbor totalling two exactly once.

%C Table starts

%C ...0.....1......2........5........10..........20............38.............71

%C ...1.....5.....17.......48.......131.........338...........850...........2091

%C ...2....17.....72......302......1144........4207.........14984..........52335

%C ...5....48....302.....1714......9085.......46195........228384........1105510

%C ..10...131...1144.....9085.....67100......477128.......3295246.......22302699

%C ..20...338...4207....46195....477128.....4725018......45515227......429442918

%C ..38...850..14984...228384...3295246....45515227.....611932378.....8057509992

%C ..71..2091..52335..1105510..22302699...429442918....8057509992...148013550916

%C .130..5061.179854..5267662.148575958..3988796543..104456486696..2677312316674

%C .235.12095.610504.24786180.977609634.36591758790.1337467436839.47829470133134

%H R. H. Hardin, <a href="/A268789/b268789.txt">Table of n, a(n) for n = 1..1404</a>

%F Empirical for column k:

%F k=1: a(n) = 2*a(n-1) +a(n-2) -2*a(n-3) -a(n-4)

%F k=2: a(n) = 2*a(n-1) +3*a(n-2) -2*a(n-3) -6*a(n-4) -4*a(n-5) -a(n-6)

%F k=3: [order 10]

%F k=4: [order 16]

%F k=5: [order 26]

%F k=6: [order 42]

%F k=7: [order 68]

%e Some solutions for n=4 k=4

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

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

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

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

%Y Column 1 is A001629.

%K nonn,tabl

%O 1,4

%A _R. H. Hardin_, Feb 13 2016