MathCastle
AIMESuperchallenge

AIME · Superchallenge problem

Find the remainder when the sum of all positive integers n≤400n \le 400 for which n2+n+1n^2 + n + 1 is divisible by 99 is divided by 10001000.

Practice more like this