AMC 10 to AIME number-theory practice benefits from proving that an object must exist before trying every candidate. Among any five integers in a specified order, some nonempty consecutive block has a sum divisible by five. The independently written example below explains the guarantee with partial sums; it is not an official problem or a statement about current AIME qualification.
Need help choosing a next step? Scan the contact QR code below or contact Hanlin on WeChat. Send AMC10-PARTIALSUMS-1110 and tell us your school year and question.
Include the empty prefix in the list
Take the ordered integers 2, 4, 1, 3 and 6. Let S_0 = 0, and let S_k be the sum of the first k terms. The six partial sums are 0, 2, 6, 7, 10 and 16.
Although the empty prefix itself is not an allowed answer, including S_0 lets a difference S_j - S_0 represent a block starting at the first term. We will require distinct indices so that the chosen block is nonempty.
Compare remainders instead of full sums
The remainders of those six partial sums upon division by five are 0, 2, 1, 2, 0 and 1. In particular, S_3 and S_1 have the same remainder. Their difference is 7 - 2 = 5.
That difference equals the sum of terms numbered 2 through 3, namely 4 + 1. Another valid block is the first four terms, whose sum is S_4 - S_0 = 10. The guarantee does not assert that the answer is unique.
Prove the argument for every ordered list of five integers
There are six partial sums S_0 through S_5 but only five possible remainder classes: 0, 1, 2, 3 and 4. At least two partial sums therefore share a remainder. Choose their indices i and j with i < j.
Their difference S_j - S_i is divisible by five, and the intermediate terms from i + 1 through j form a nonempty consecutive block. This works even if some original integers are zero or negative; the remainders are still taken from the same five classes.
Keep consecutive and nonempty in the conclusion
Choosing any scattered subset would answer a different question. Subtracting two prefixes is useful precisely because all earlier terms cancel and one uninterrupted block remains. Subtracting a partial sum from itself would give zero but select no terms, which is not permitted.
The same proof uses n + 1 prefixes for n integers and n remainder classes modulo n. In a review note, write the index bounds beside the subtraction. When discussing AIME preparation, identify whether the difficulty was the remainder comparison or translating its difference back into a valid block.
Continue reading: AMC 10 Number Theory: Count Divisors by Choosing Prime Exponents.
Contact Hanlin
Planning a first attempt or reviewing a topic you find difficult? Scan the QR code and send AMC10-PARTIALSUMS-1110. Include your school year, country or competition region, experience and the question you want to discuss.

On your phone, use the button or save the QR image and scan it within WeChat.
Official information and further reading: Source 1
