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