This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A297802 #6 Apr 17 2022 22:18:20 %S A297802 1,1,1,1,2,1,1,11,4,1,1,24,37,7,1,1,38,100,108,14,1,1,105,293,422,533, %T A297802 31,1,1,381,1320,2195,2936,2434,69,1,1,1067,6215,16006,23781,17899, %U A297802 10287,155,1,1,2676,24879,115773,320168,231921,104985,45968,354,1,1,7533,99567 %N A297802 T(n,k) = Number of n X k 0..1 arrays with every 1 horizontally, diagonally or antidiagonally adjacent to 2, 3 or 5 neighboring 1's. %C A297802 Table starts %C A297802 .1...1......1.......1.........1...........1.............1...............1 %C A297802 .1...2.....11......24........38.........105...........381............1067 %C A297802 .1...4.....37.....100.......293........1320..........6215...........24879 %C A297802 .1...7....108.....422......2195.......16006........115773..........738989 %C A297802 .1..14....533....2936.....23781......320168.......4340367........46828204 %C A297802 .1..31...2434...17899....231921.....5511367.....123361724......2122878239 %C A297802 .1..69..10287..104985...2174696....91376524....3420197908.....94927605755 %C A297802 .1.155..45968..645568..21427001..1587468720..102189481612...4611250894511 %C A297802 .1.354.207906.3978117.209042911.27421636815.2993486726263.218072722004943 %H A297802 R. H. Hardin, <a href="/A297802/b297802.txt">Table of n, a(n) for n = 1..180</a> %F A297802 Empirical for column k: %F A297802 k=1: a(n) = a(n-1), %F A297802 k=2: a(n) = 3*a(n-1) -2*a(n-2) +2*a(n-3) -2*a(n-4) -a(n-5), %F A297802 k=3: [order 15], %F A297802 k=4: [order 37], %F A297802 k=5: [order 95]. %F A297802 Empirical for row n: %F A297802 n=1: a(n) = a(n-1), %F A297802 n=2: a(n) = 3*a(n-1) -2*a(n-2) +5*a(n-3) +6*a(n-4) -16*a(n-5) -12*a(n-6), %F A297802 n=3: [order 21], %F A297802 n=4: [order 55]. %e A297802 Some solutions for n=5, k=4 %e A297802 ..0..1..1..1. .0..0..0..0. .0..1..1..1. .0..1..0..0. .0..1..1..0 %e A297802 ..0..1..1..0. .0..1..1..1. .0..0..1..1. .1..1..1..0. .0..1..1..1 %e A297802 ..0..0..1..0. .0..0..1..1. .1..1..0..1. .0..0..0..1. .0..1..1..1 %e A297802 ..1..1..0..0. .0..1..1..1. .0..1..1..1. .0..1..1..0. .1..1..0..0 %e A297802 ..1..1..0..0. .0..0..1..0. .0..1..1..0. .1..1..0..0. .0..0..0..0 %Y A297802 Column 2 is A202973. %Y A297802 Row 2 is A297545. %K A297802 nonn,tabl %O A297802 1,5 %A A297802 _R. H. Hardin_, Jan 06 2018