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 A199133 #7 Jul 22 2025 13:11:21 %S A199133 1,1,1,1,2,1,3,2,2,3,6,12,6,12,6,5,30,19,19,30,5,19,30,70,258,70,30, %T A199133 19,37,210,264,1409,1409,264,210,37,29,560,1038,2836,11475,2836,1038, %U A199133 560,29,124,560,4155,48320,33970,33970,48320,4155,560,124,240,4200,16896,295092 %N A199133 T(n,k)=Number of nXk 0..2 arrays with values 0..2 introduced in row major order, the number of instances of each value within one of each other, and no element equal to any horizontal or vertical neighbor. %C A199133 Table starts %C A199133 ...1....1.....1........3.........6...........5............19..............37 %C A199133 ...1....2.....2.......12........30..........30...........210.............560 %C A199133 ...1....2.....6.......19........70.........264..........1038............4155 %C A199133 ...3...12....19......258......1409........2836.........48320..........295092 %C A199133 ...6...30....70.....1409.....11475.......33970........887966.........8181546 %C A199133 ...5...30...264.....2836.....33970......438502.......5926852........82908094 %C A199133 ..19..210..1038....48320....887966.....5926852.....358599045......7633754680 %C A199133 ..37..560..4155...295092...8181546....82908094....7633754680....247746055048 %C A199133 ..29..560.16896...629776..26354800..1187201812...56435001338...2782790788798 %C A199133 .124.4200.69584.11499816.739462036.17307138986.3718131446504.280882561003836 %H A199133 R. H. Hardin, <a href="/A199133/b199133.txt">Table of n, a(n) for n = 1..180</a> %e A199133 Some solutions for n=7 k=5 %e A199133 ..0..1..0..1..0....0..1..0..1..0....0..1..0..1..0....0..1..0..1..0 %e A199133 ..2..0..1..0..1....1..2..1..2..1....1..0..1..0..2....2..0..2..0..2 %e A199133 ..0..1..0..1..2....0..1..2..0..2....2..1..0..2..1....0..1..0..2..0 %e A199133 ..1..2..1..2..1....1..0..1..2..0....1..2..1..0..2....1..2..1..0..1 %e A199133 ..2..0..2..0..2....0..1..0..1..2....2..1..0..2..0....2..1..2..1..2 %e A199133 ..1..2..0..2..1....1..2..1..2..0....1..0..2..1..2....1..2..1..2..1 %e A199133 ..0..1..2..0..2....2..0..2..0..2....0..2..0..2..1....0..1..2..0..2 %K A199133 nonn,tabl %O A199133 1,5 %A A199133 _R. H. Hardin_ Nov 03 2011