ak mod 2012 > bk mod 2012
Source: 2012 USAJMO Day 2 #5
April 25, 2012
2012 USAJMO
Problem Statement
For distinct positive integers , define to be the number of integers with such that the remainder when divided by is greater than that of divided by . Let be the minimum value of , where and range over all pairs of distinct positive integers less than . Determine .