
Given an integer array nums , return the sum of floor(nums[i] / nums[j]) for all pairs of indices 0 <= i, j < nums.length in the array. Since the answer may be too large, return it modulo 10 ^9 + 7 .
The floor() function returns the integer part of the division.
1 <= nums.length <= 10 ^51 <= nums[i] <= 10 ^5