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 A343046 #13 Apr 08 2021 10:49:22 %S A343046 0,0,0,0,1,0,0,2,2,0,0,3,6,3,0,0,2,8,8,2,0,0,3,6,9,6,3,0,0,6,8,8,8,8, %T A343046 6,0,0,7,30,9,12,9,30,7,0,0,8,32,36,14,14,36,32,8,0,0,9,36,39,30,15, %U A343046 30,39,36,9,0,0,8,38,38,32,36,36,32,38,38,8,0 %N A343046 Array T(n, k), n, k >= 0, read by antidiagonals; lunar multiplication table for the primorial base. %C A343046 To compute T(n, k): %C A343046 - write the primorial base representations of n and of k on two lines, right aligned, %C A343046 - to "multiply" two digits: take the smallest, %C A343046 - to "add" two digits: take the largest, %C A343046 - for example, for T(9, 10): %C A343046 9 -> 1 1 1 %C A343046 10 -> x 1 2 0 %C A343046 ------- %C A343046 0 0 0 %C A343046 1 1 1 %C A343046 + 1 1 1 %C A343046 ----------- %C A343046 1 1 1 1 0 -> 248 = T(9, 10) %C A343046 See A343044 for the corresponding addition table. %H A343046 Rémy Sigrist, <a href="/A343046/b343046.txt">Table of n, a(n) for n = 0..10010</a> %H A343046 Rémy Sigrist, <a href="/A343046/a343046.gp.txt">PARI program for A343046</a> %H A343046 <a href="/index/Di#dismal">Index entries for sequences related to dismal (or lunar) arithmetic</a> %H A343046 <a href="/index/Pri#primorialbase">Index entries for sequences related to primorial base</a> %F A343046 T(n, k) = T(k, n). %F A343046 T(m, T(n, k)) = T(T(m, n), k). %F A343046 T(n, 0) = 0. %F A343046 T(n, 1) = A328841(n). %F A343046 T(n, n) = A343047(n). %e A343046 Array T(n, k) begins: %e A343046 n\k| 0 1 2 3 4 5 6 7 8 9 10 11 12 %e A343046 ---+--------------------------------------------------------- %e A343046 0| 0 0 0 0 0 0 0 0 0 0 0 0 0 %e A343046 1| 0 1 2 3 2 3 6 7 8 9 8 9 6 -> A328841 %e A343046 2| 0 2 6 8 6 8 30 32 36 38 36 38 30 %e A343046 3| 0 3 8 9 8 9 36 39 38 39 38 39 36 %e A343046 4| 0 2 6 8 12 14 30 32 36 38 42 44 60 %e A343046 5| 0 3 8 9 14 15 36 39 38 39 44 45 66 %e A343046 6| 0 6 30 36 30 36 210 216 240 246 240 246 210 %e A343046 7| 0 7 32 39 32 39 216 217 248 249 248 249 216 %e A343046 8| 0 8 36 38 36 38 240 248 246 248 246 248 240 %e A343046 9| 0 9 38 39 38 39 246 249 248 249 248 249 246 %e A343046 10| 0 8 36 38 42 44 240 248 246 248 252 254 270 %e A343046 11| 0 9 38 39 44 45 246 249 248 249 254 255 276 %e A343046 12| 0 6 30 36 60 66 210 216 240 246 270 276 420 %o A343046 (PARI) See Links section. %Y A343046 Cf. A087062, A235168, A328841, A343042, A343044, A343047. %K A343046 nonn,base,tabl %O A343046 0,8 %A A343046 _Rémy Sigrist_, Apr 05 2021