AMC 10 Step by Step

2006 AMC 10A Problem 9

P1-10~3 minPrint

How many sets of two or more consecutive positive integers have a sum of 1515 ?

Log in to save your progress.
Show solution without answering

Key insight

Sum = (how many numbers) times (their average). Try runs of 2, 3, 4, 5, 6 numbers and see which give 15 using only positive numbers.

Solution

For consecutive numbers, the sum is (how many numbers) ×\times (the average), and the average is the middle of the run. So for a run of nn numbers, the average must be 15÷n15 \div n. Try each length in turn.

Length nnAverage 15÷n15 \div nRunWorks?
227.57.57,87, 8yes
33554,5,64, 5, 6yes
443.753.75noneno
55331,2,3,4,51, 2, 3, 4, 5yes
662.52.50,1,2,3,4,50, 1, 2, 3, 4, 5no, 00 is not positive

Why length 44 fails: four consecutive numbers have a middle halfway between two whole numbers, like 2.52.5 or 3.53.5. The average 3.753.75 is not of that kind.

Why we can stop: a run of 77 or more positive numbers adds up to at least 1+2+⋯+7=281 + 2 + \cdots + 7 = 28, which is more than 1515.

So there are exactly 33 sets.

The answer is (C) 3\boxed{\textbf{(C)}\ 3}.

Why this works

Consecutive numbers are evenly spaced, so their sum is the count times the middle value. That turns "find all runs" into "try each possible length," and there are only a few lengths before the sum gets too big. Keep an eye on the word "positive": it is what rules out the run that starts at 00.

Alternative approach

Just search by the first number. Starting at 11: 1+2+3+4+5=151 + 2 + 3 + 4 + 5 = 15. Starting at 22: 2+3+4=92 + 3 + 4 = 9, +5=14+5 = 14, +6=20+6 = 20, skips 1515. Starting at 33: 3+4=73 + 4 = 7, +5=12+5 = 12, +6=18+6 = 18, skips. Starting at 44: 4+5+6=154 + 5 + 6 = 15. Starting at 55: 5+6=115 + 6 = 11, +7=18+7 = 18, skips. Starting at 66: 6+7=136 + 7 = 13, +8=21+8 = 21, skips. Starting at 77: 7+8=157 + 8 = 15. From 88 on, two numbers already add to more than 1515. Three sets.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

A run of nn consecutive integers has sum nn times its average, and that average is the middle term when nn is odd, or a number ending in .5.5 when nn is even. So we need 15/n15/n to have the right form, and the run built around it must stay positive.

  • n=2n = 2: average 7.57.5, run 7,87, 8. Works.
  • n=3n = 3: average 55, run 4,5,64, 5, 6. Works.
  • n=4n = 4: average 3.753.75, not a half-integer. Fails.
  • n=5n = 5: average 33, run 1,2,3,4,51, 2, 3, 4, 5. Works.
  • n=6n = 6: average 2.52.5, run 0,1,…,50, 1, \dots, 5, but 00 is not positive. Fails.

Any longer run has average below 2.52.5 and would start at or below 00, so the search is complete: exactly 33 sets.

The answer is (C) 3\boxed{\textbf{(C)}\ 3}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site. Also appeared as 2006 12A #8.