Hi, i'm trying to solve the following problem : Given 1 ≤ m ≤ n ≤ 100000 , calculate:
If n = m is kind of easy, but i can't think of anything for n > m.
PS:I think an solution or anything similar can be squeezed to pass TL , if you have any idea please share :D