OFFSET
1,30
COMMENTS
T(i,j) = T(j,i).
T(i,j) <= |i-j|.
If i divides j or vice versa, then T(i,j) = 0.
LINKS
EXAMPLE
Let i=10, j=3. Then lcm(i,j)=30, lcm(i+1,j+1)=44, lcm(i+2,j+2)=60, lcm(i+3,j+3)=78, and lcm(i+4,j+4)=14, which is the minimum. Hence T(10,3)=T(3,10)=4.
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Ivan Neretin, Oct 31 2015
STATUS
approved