Contests Love Series

In arguably every contest you do, there will be some mention/use-case involving series or a sequence. This module will cover some of the fundamentals of series, (specifically, arithmetic series), tread carefully!

Sequence: An ordered list of values, e.g. 1,7,13,191, 7, 13, 19

Series: The sum of the numbers in a sequence, e.g. 1+7+13+19=401 + 7 + 13 + 19 = 40

Arithmetic sequences grow by a fixed difference. They show up in many counting, number theory, and series problems. At the AMC level, the challenge is rarely about just plugging into a formula, instead, it's about setting up the right sequence. Beyond the basics, arithmetic sequences connect to divisibility (multiples of kk form an arithmetic sequence), counting (how many integers in a range to satisfy a condition), and algebra (systems involving sequences).

Key Ideas

To define a sequence, we usually use notation such as a1,a2,...,ana_1, a_2, ..., a_n where nn is the number of terms in the sequence. However, you may use any letter you wish to use.

An arithmetic sequence, as discussed above, depends on two things:

  1. A given term of the sequence, aka_k
  2. The common difference, dd

For instance, suppose you are given a1a_1, then, a5=a1+4da_5 = a_1 + 4d. Generally:

Given k≤nk \le n, an=ak+(n−k)da_n = a_k + (n-k)d

The reason this works is that moving from term kk to term nn means adding the common difference exactly n−kn - k times. If you know any single term and the common difference, you can reach every other term in the sequence, so you never actually need to know a1a_1 to describe the whole thing. This flexibility is useful on contests where you are handed a term in the middle rather than the start.

For instance, 2,4,6,82, 4, 6, 8 is an arithmetic sequence with common difference 22 and 109,99,89,79109, 99, 89, 79 is an arithmetic sequence with common difference −10-10; however, 7,67,1,907, 67, 1, 90 and 1,1010,3,4,…1, 1010, 3, 4, \ldots are not arithmetic sequences, as the difference between consecutive terms varies.

Formally, the sequence a1,a2,…,ana_1, a_2, \ldots , a_n is an arithmetic progression if and only if a2−a1=a3−a2=⋯=an−an−1a_2 - a_1 = a_3 - a_2 = \cdots = a_n - a_{n-1}.

Core Skills

Gauss' Genius

In the late 1700s, a schoolmaster named J.G. Büttner wanted to keep his primary school class quiet and busy for an hour. He gave his students what he thought was a tedious arithmetic chore: add all the whole numbers from 11 to 100100. While the other children immediately began writing out 1+2=31 + 2 = 3, 3+3=63 + 3 = 6, 6+4=106 + 4 = 10, and tracking long columns of numbers, a young Gauss sat quietly for a few moments. He then walked up to the teacher's desk and threw down his slate with the exact answer: 5,0505,050

How did he do this? By utilizing a core property that arithemtic sequences have. Specifically, for an arithmetic sequence: a1,a2,...,ana_1, a_2, ..., a_n, the values an−a1,an−1−a2,...a_n - a_1, a_{n-1} - a_2, ... all remain constant, as you go up in the sequence by one and go down in the other, the changes cancel each other out!

The trick is to think in pairs rather than in single terms. Gauss imagined the numbers 11 through 100100 written forwards, then the same numbers written backwards underneath: 11 pairs with 100100, 22 pairs with 9999, 33 pairs with 9898, and so on. Every one of these pairs sums to 101101, and there are 100100 of them, giving 100×101=10100100 \times 101 = 10100. Since each number got counted twice, the real answer is half of that, or 50505050. The strength of the idea is that it turns a long, error-prone addition into a single multiplication.

We can use this fact to motivate the formula for the sum of an arithmetic series:

S=(a1+an)⋅n2S = \dfrac{(a_1 + a_n) \cdot n}{2}

That is, the sum of a series is the sum of the first and last terms, multiplied by the number of pairs, n/2n/2.

The Sum Formula

The sum of the first nn terms is equal to:

Sn=n2(a1+an)=n2(2a1+(n−1)d).S_n = \frac{n}{2}(a_1 + a_n) = \frac{n}{2}(2a_1 + (n-1)d).

The second form is handy when you are not told the last term directly, since you can substitute an=a1+(n−1)da_n = a_1 + (n-1)d and work entirely from a1a_1, dd, and nn. Both forms describe the same quantity, so use whatever matches the information the problem hands you.

Proof. We want to show that Sn=n2(a1+an)S_n = \frac{n}{2}(a_1 + a_n). Start by writing the sum out in full, then write the same sum a second time but with the terms reversed:

Sn=a1+(a1+d)+(a1+2d)+⋯+(a1+(n−1)d)S_n = a_1 + (a_1 + d) + (a_1 + 2d) + \cdots + (a_1 + (n-1)d)
Sn=an+(an−d)+(an−2d)+⋯+(an−(n−1)d)S_n = a_n + (a_n - d) + (a_n - 2d) + \cdots + (a_n - (n-1)d)

Now add the two lines together, lining up the columns. In the first column we get a1+ana_1 + a_n. In the second column we get (a1+d)+(an−d)=a1+an(a_1 + d) + (a_n - d) = a_1 + a_n, since the +d+d and −d-d cancel. The same cancellation happens in every column, so each of the nn columns sums to exactly a1+ana_1 + a_n. Adding all of them gives

2Sn=n(a1+an).2S_n = n(a_1 + a_n).

Dividing both sides by 22 yields

Sn=n2(a1+an),S_n = \frac{n}{2}(a_1 + a_n),

which is what we wanted. To get the second form, substitute an=a1+(n−1)da_n = a_1 + (n-1)d:

Sn=n2(a1+a1+(n−1)d)=n2(2a1+(n−1)d).■S_n = \frac{n}{2}\big(a_1 + a_1 + (n-1)d\big) = \frac{n}{2}\big(2a_1 + (n-1)d\big). \qquad \blacksquare

This is also known as Gauss's trick. Notice that it is exactly the pairing idea from the story above, just written algebraically and made to work for any arithmetic sequence rather than only 11 through 100100.

Finding the Number of Terms

Hence given a1a_1, dd, and the last term ana_n:

n=an−a1d+1.n = \dfrac{a_n - a_1}{d} + 1.

Always solve for nn before applying the sum formula, as this can be a common source for errors off by one term. The intuition for the +1+1 is that an−a1d\frac{a_n - a_1}{d} counts the number of steps between the first and last terms, but a sequence with one step has two terms, a sequence with two steps has three terms, and so on.

Arithmetic Mean

The average of an arithmetic sequence always equals the average of the first and last terms:

aˉ=a1+an2.\bar{a} = \dfrac{a_1 + a_n}{2}.

For an odd number of terms, the middle term equals the mean. This makes the sum Sn=n⋅aˉS_n = n \cdot \bar{a} convenient to find when nn is known. The reason the average sits at the midpoint is that the terms are spread out evenly, so whatever lies above the center is balanced by an equal amount below it. This is also why the sum formula can be read as "average term times number of terms," which is the same statement as Sn=n⋅aˉS_n = n \cdot \bar{a}.

A useful equation is the sum of the first nn positive integers,

1+2+3+⋯+n=n(n+1)2.1 + 2 + 3 + \cdots + n = \frac{n(n+1)}{2}.

This is the arithmetic sequence a1=1a_1 = 1, d=1d = 1 with sum formula applied. It is worth memorizing on its own, since it appears constantly in counting problems, in the number of edges of a complete graph, and inside larger algebra manipulations.

Multiples in a Range

The number of multiples of kk in {1,2,…,N}\{1, 2, \ldots, N\} is ⌊N/k⌋\lfloor N/k \rfloor. Therefore, the multiples themselves form an arithmetic sequence k,2k,3k,…k, 2k, 3k, \ldots with d=kd = k.

More generally, the number of integers in {a,a+1,…,b}\{a, a+1, \ldots, b\} that are ≡r(modk)\equiv r \pmod{k} is approximately (b−a)/k(b-a)/k, can be found by finding the first and last terms and applying the nn formula. The safe way to do these problems is to find the smallest valid value at or above aa, find the largest valid value at or below bb, and then count the terms between them with the nn formula rather than estimating.

Worked Example

Find the sum 3+7+11+⋯+993 + 7 + 11 + \cdots + 99.

This is an arithmetic sequence with a1=3a_1 = 3, d=4d = 4, and an=99a_n = 99. The number of terms is n=99−34+1=25n = \frac{99-3}{4} + 1 = 25. So Sn=252(3+99)=25⋅51=1275S_n = \frac{25}{2}(3 + 99) = 25 \cdot 51 = 1275.

Worked Examples

2004 AMC 12B · Problem 8 A grocer makes a display of cans in which the top row has one can and each lower row has two more cans than the row above it. If the display contains 100100 cans, how many rows does it contain?

The number of cans per row, read from the top down, is 1,3,5,7,…1, 3, 5, 7, \ldots This is an arithmetic sequence with a1=1a_1 = 1 and d=2d = 2, so the total number of cans in nn rows is the sum of the first nn terms. We are told this sum is 100100, so we set up the sum formula:

Sn=n2(2a1+(n−1)d)=n2(2+2(n−1))=n2(2n)=n2.S_n = \frac{n}{2}\big(2a_1 + (n-1)d\big) = \frac{n}{2}\big(2 + 2(n-1)\big) = \frac{n}{2}(2n) = n^2.

So the number of rows satisfies n2=100n^2 = 100, giving n=10n = \boxed{10}.

There is a slicker way to see the same thing. The cans per row are the first nn odd numbers, and the sum of the first nn odd numbers is always n2n^2 (try it: 1=11 = 1, 1+3=41+3 = 4, 1+3+5=91+3+5 = 9). Setting n2=100n^2 = 100 again gives n=10n = 10. The sum of the first nn odd numbers is indeed n2n^2, worth remembering!

2006 AMC 12A · Problem 12 A number of linked rings, each 11 cm thick, are hanging on a peg. The top ring has an outside diameter of 2020 cm. The outside diameter of each of the outer rings is 11 cm less than that of the ring above it. The bottom ring has an outside diameter of 33 cm. What is the distance, in cm, from the top of the top ring to the bottom of the bottom ring?

Be careful!. Do not overcount where rings overlap. A nice way to set this up is to add the full outside diameters first, then subtract the overlaps. The outside diameters run 20,19,18,…,320, 19, 18, \ldots, 3, which is an arithmetic sequence with a1=20a_1 = 20, d=−1d = -1, and last term 33. The number of rings is

n=3−20−1+1=18.n = \dfrac{3 - 20}{-1} + 1 = 18.

The sum of these outside diameters is

S=n2(a1+an)=182(20+3)=9⋅23=207.S = \dfrac{n}{2}(a_1 + a_n) = \dfrac{18}{2}(20 + 3) = 9 \cdot 23 = 207.

But stacking the rings creates an overlap at each link. Since each ring is 11 cm thick, two ring thicknesses (22 cm) of vertical space are shared wherever one ring hangs inside the next. There are 1717 such links between the 1818 rings, so we subtract 2⋅17=342 \cdot 17 = 34:

207−34=173207 - 34 = \boxed{173}

Practice Problems

StatusSourceProblem NameDifficultyTags
AMC 8Medium
Show TagsConsecutive Integers, Number Theory
AMC 8Medium
Show TagsCounting, Probability
AMC 10Medium
Show TagsArithmetic Sequence, Geometry
AMC 10Hard
Show TagsAlgebra, Number Theory
AMC 10Hard
Show TagsAlgebra, Arithmetic Progression
AJHSMEVery Easy
Show TagsAddition, Sum of Consecutive Integers
AJHSMEVery Easy
Show TagsFactoring, Sum of Arithmetic Sequence
AJHSMEEasy
Show TagsArithmetic Progressions, Nth Term
AJHSMEEasy
Show TagsSummation, Telescoping
AJHSMENormal
Show TagsOptimization, Parity, Sum of Sequence
AJHSMEEasy
Show TagsModular Arithmetic, Patterns
AJHSMENormal
Show TagsGrouping, Series, Subtraction
AJHSMENormal
Show TagsPatterns, Perfect Squares, Triangular Numbers
AJHSMEEasy
Show TagsModular Arithmetic, Patterns
AJHSMEVery Easy
Show TagsFactoring, Sum of Sequence
AJHSMEEasy
Show TagsPattern Recognition, Sum of Sequence
AJHSMENormal
Show TagsPattern Recognition, Series, Simplification
AJHSMEHard
Show TagsCycles, Pattern Recognition, Sequence Rules
AJHSMEHard
Show TagsGrid Patterns, Modular Arithmetic, Sequence Continuation
AMC 8Easy
Show TagsPatterns, Squares
AMC 8Very Easy
Show TagsAlgebra, Sum
AMC 8Very Easy
Show TagsAddition, Sequences
AMC 8Normal
Show TagsArea, Patterns, Tiling
AMC 8Very Easy
Show TagsGrouping, Summation
AMC 8Very Easy
Show TagsSum of Odds
AMC 8Very Easy
Show TagsArithmetic Series, Grouping Terms
AMC 8Easy
Show TagsArithmetic Series, Consecutive Integers
AMC 8Very Easy
Show TagsArithmetic Series, Pairing
AMC 8Very Easy
Show TagsPatterns, Visual Logic
AMC 8Very Easy
Show TagsAlgebraic Setup, Arithmetic Progression
AMC 8Hard
Show TagsDigits, Inequalities
AMC 8Very Easy
Show TagsArithmetic Progression, Nth Term

Module Progress:

Join the Discord Community!

Stuck on a problem, or don't understand a module? Join the Discord and get help with your doubts while making more math friends.