Sum of Floored Pairs
For each divisor, sum the quotient for every value by splitting the numbers into blocks of that divisor with prefix counts.
For each divisor, sum the quotient for every value by splitting the numbers into blocks of that divisor with prefix counts.