olymmath

HMMT 2017 U20

  • Guts
  • Answer

For positive integers aa and NN, let r(a,N)∈{0,1,…,N−1}r(a, N) \in\{0,1, \ldots, N-1\} denote the remainder of aa when divided by NN. Determine the number of positive integers n≤1000000n \leq 1000000 for which

r(n,1000)>r(n,1001)r(n, 1000)>r(n, 1001)

Dataset text NuminaMath olympiads. Quoted with source.

Show the answer

499500

Solutions

No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

Add a solution

Similar problems

These problems have the most words in common with this statement.

Locator hmmt/2017/u20 · Tag KR71H7GY6X · Edit this page on GitHub · Keys: j next, k previous