OFFSET
0,8
COMMENTS
To compute T(n, k):
- write the primorial base representations of n and of k on two lines, right aligned,
- to "multiply" two digits: take the smallest,
- to "add" two digits: take the largest,
- for example, for T(9, 10):
9 -> 1 1 1
10 -> x 1 2 0
-------
0 0 0
1 1 1
+ 1 1 1
-----------
1 1 1 1 0 -> 248 = T(9, 10)
See A343044 for the corresponding addition table.
LINKS
FORMULA
EXAMPLE
Array T(n, k) begins:
n\k| 0 1 2 3 4 5 6 7 8 9 10 11 12
---+---------------------------------------------------------
0| 0 0 0 0 0 0 0 0 0 0 0 0 0
1| 0 1 2 3 2 3 6 7 8 9 8 9 6 -> A328841
2| 0 2 6 8 6 8 30 32 36 38 36 38 30
3| 0 3 8 9 8 9 36 39 38 39 38 39 36
4| 0 2 6 8 12 14 30 32 36 38 42 44 60
5| 0 3 8 9 14 15 36 39 38 39 44 45 66
6| 0 6 30 36 30 36 210 216 240 246 240 246 210
7| 0 7 32 39 32 39 216 217 248 249 248 249 216
8| 0 8 36 38 36 38 240 248 246 248 246 248 240
9| 0 9 38 39 38 39 246 249 248 249 248 249 246
10| 0 8 36 38 42 44 240 248 246 248 252 254 270
11| 0 9 38 39 44 45 246 249 248 249 254 255 276
12| 0 6 30 36 60 66 210 216 240 246 270 276 420
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
AUTHOR
Rémy Sigrist, Apr 05 2021
STATUS
approved