MathDB
max remainder when 2018 is divided by 1-1000 , 2018 May Olympiad L1 p2

Source:

August 24, 2021
number theoryremainder

Problem Statement

A thousand integer divisions are made: 20182018 is divided by each of the integers from 1 1 to 10001000. Thus, a thousand integer quotients are obtained with their respective remainders. Which of these thousand remainders is the bigger?