MathCastle
AIMESuperchallenge

AIME · Superchallenge problem

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

Practice more like this