Problem 1862 · Hard

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.

Open the interactive visualisation