Solve
for integer .
Translate the notation into division language. The statement says: when is divided by , the remainder is . In congruence notation this is . Note is a valid remainder because — a remainder must always be smaller than the divisor.
Write in quotient-remainder form. The division algorithm says every integer can be written uniquely as with , where is the quotient. Requiring gives
List some solutions. Taking :
and negative works too: gives , since and the remainder is indeed ✓. Consecutive solutions differ by exactly .
Verify a few directly. remainder ✓; remainder ✓; remainder ✓. The formula was checked against the direct condition for every from to ✓.
Note the equivalent phrasings. Because , the same set can be described as the integers one less than a multiple of 7 — that is, . Both descriptions give the identical set: . There are infinitely many solutions, so no single number can be the answer.
Need to solve a different problem like this? Open the solver →