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 A338872 #11 Nov 18 2020 17:03:44 %S A338872 1,3,5,2,7,6,10,12,8,4,9,16,19,14,24,11,15,31,27,18,20,13,17,21,43,30, %T A338872 22,38,23,33,41,47,40,48,26,46,36,63,35,39,88,70,44,62,45,32,66,55,71, %U A338872 52,60,28,42,29,51,25,86,90,67,98,56,54,34,73,91,57 %N A338872 Square array of distinct positive integers T(n, k), n > 0, k > 0, read by antidiagonals upwards, filled the greedy way such that for any n > 0 and k > 0, Sum_{ i = 1..n, j = 1..k } T(i, j) is divisible by n * k. %C A338872 This sequence is a 2-dimensional variant of A019444. %H A338872 Rémy Sigrist, <a href="/A338872/b338872.txt">Table of n, a(n) for n = 1..5050</a> %H A338872 Rémy Sigrist, <a href="/A338872/a338872.gp.txt">PARI program for A338872</a> %e A338872 Array T(n, k) begins: %e A338872 n\k| 1 2 3 4 5 6 7 8 9 10 %e A338872 ---+----------------------------------------------- %e A338872 1| 1 5 6 4 24 20 38 46 45 51 %e A338872 2| 3 7 8 14 18 22 26 62 29 91 %e A338872 3| 2 12 19 27 30 48 44 42 73 53 %e A338872 4| 10 16 31 43 40 70 28 34 61 37 %e A338872 5| 9 15 21 47 88 60 54 106 77 133 %e A338872 6| 11 17 41 39 52 56 50 118 129 157 %e A338872 7| 13 33 35 71 98 116 173 117 181 213 %e A338872 8| 23 63 55 67 82 136 155 187 141 161 %e A338872 9| 36 66 90 84 99 111 179 143 146 256 %e A338872 10| 32 86 74 124 109 121 203 235 78 188 %o A338872 (PARI) See Links section. %Y A338872 See A338918 and A338919 for similar sequences. %Y A338872 Cf. A019444. %K A338872 nonn,look,tabl %O A338872 1,2 %A A338872 _Rémy Sigrist_, Nov 13 2020