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 A204705 #8 Sep 03 2022 21:59:59 %S A204705 1,2,2,4,14,4,11,96,96,11,30,726,1417,726,30,82,5400,22869,22869,5400, %T A204705 82,224,40344,362020,835135,362020,40344,224,612,301056,5767683, %U A204705 29846373,29846373,5767683,301056,612,1672,2247264,91733605,1074195735,2389914827 %N A204705 T(n,k) = Number of n X k 0..2 arrays with no occurrence of three equal elements in a row horizontally, vertically or nw-to-se diagonally, and new values 0..2 introduced in row major order. %C A204705 Table starts %C A204705 ...1.......2..........4............11...............30..................82 %C A204705 ...2......14.........96...........726.............5400...............40344 %C A204705 ...4......96.......1417.........22869...........362020.............5767683 %C A204705 ..11.....726......22869........835135.........29846373..........1074195735 %C A204705 ..30....5400.....362020......29846373.......2389914827........192759130113 %C A204705 ..82...40344....5767683....1074195735.....192759130113......34925753412578 %C A204705 .224..301056...91733605...38585324821...15521787839696....6319625580942184 %C A204705 .612.2247264.1459710274.1386815731346.1250634888842984.1144097011453760287 %H A204705 R. H. Hardin, <a href="/A204705/b204705.txt">Table of n, a(n) for n = 1..127</a> %e A204705 Some solutions for n=5, k=3 %e A204705 ..0..0..1....0..0..1....0..1..2....0..1..0....0..1..0....0..0..1....0..0..1 %e A204705 ..1..0..0....2..0..1....1..1..2....2..1..2....0..1..1....1..2..2....1..0..2 %e A204705 ..0..2..1....2..1..2....1..2..1....2..2..1....1..0..2....2..1..2....2..1..1 %e A204705 ..0..0..2....1..2..1....0..1..2....0..1..1....1..2..2....2..2..0....0..1..2 %e A204705 ..1..0..1....0..2..1....2..1..2....0..0..2....2..0..0....0..1..1....0..2..1 %Y A204705 Column 1 is A021006(n-3). %K A204705 nonn,tabl %O A204705 1,2 %A A204705 _R. H. Hardin_, Jan 18 2012