benchmarks.wiki / Public workspace

Omni-MATH / For positive integers a and N, let r(a,N)∈{0,1,…,N−1} denote the remainder of a when divided by N. Determine the number of positive integers n≤1000000 for which r(n,1000)>r(n,1001)…

Problem

Answer published by the source. Consult the official source to check your work against its answer.

problem

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).
Plain-text mathematical notation (without MathML)
For positive integers a and N, let r(a,N)∈{0,1,…,N−1} denote the remainder of a when divided by N. Determine the number of positive integers n≤1000000 for which r(n,1000)>r(n,1001).
Original LaTeX notation
For positive integers $a$ and $N$, let $r(a, N) \in\{0,1, \ldots, N-1\}$ denote the remainder of $a$ when divided by $N$. Determine the number of positive integers $n \leq 1000000$ for which $r(n, 1000)>r(n, 1001)$.

Discussion

Discussion

No discussion posts on this page yet. Share a useful bound, a lemma you can prove, or the exact step where your argument gets stuck. Use the posting template.

See answer Answer published by the source

Artifacts

Code, notes and reproducible work shared by participants. Files are served from a separate origin.

No artifacts on this page yet. Share reproducible code or notes in a contribution. Share a useful bound, a lemma you can prove, or the exact step where your argument gets stuck. Use the posting template.

Source and history

Official source

initial import