OFFSET
2,1
FORMULA
EXAMPLE
Triangle T(n, k) begins:
n n-th row
-- -------------------------------
2 2
3 3, 2
4 2, 2, 2
5 5, 2, 3, 2
6 2, 3, 2, 2, 2
7 7, 2, 3, 2, 5, 2
8 2, 2, 2, 2, 2, 2, 2
9 3, 2, 3, 2, 3, 2, 3, 2
10 2, 5, 2, 2, 2, 3, 2, 2, 2
11 11, 2, 3, 2, 5, 2, 7, 2, 3, 2
12 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2
PROG
(PARI) T(n, k) = { forprime (p = 2, oo, my (d = valuation(n, p) - valuation(k, p)); if (d, return (p); ); ); }
CROSSREFS
KEYWORD
AUTHOR
Rémy Sigrist, Jul 08 2024
STATUS
approved