Skip to content
Algebra · Chapter 17

Special Sequences

Closed forms for sums of integers, odd numbers, squares and cubes, plus telescoping sums and products and sequences that repeat.

You'll need
open on YouTube
17.00%

Sums of Powers

In this section you will be able to add up 1 + 2 + ⋯ + n, the odd numbers, the even numbers, the squares and the cubes in one step each.

Seven cubes with sides 1 to 7 are stacked into a tower. Its surface area is a sum of squares in disguise, and one formula adds them all at once.

Each formula in this section turns a long sum into a short product. The pictures show why: the pieces of the sum fit together into a square or a rectangle, and the area of that shape is the closed form.

Look: the odd numbers are the L-shapes that grow a square, so 1+3+⋯+(2n−1)=n21 + 3 + \cdots + (2n - 1) = n^2. The cubes are bigger L-shapes that grow a square of side 1+2+⋯+n1 + 2 + \cdots + n.

Exploreplay first, formulas later

1 + 3 + 5 + 7 + 9 = 25; the pieces fill a 5 × 5 shape

n5
13579

5 L-shapes fill a 5 × 5 square.

1 + 3 + 5 + 7 + 9 = 25

1 + 3 + 5 + 7 + 9 = 25; the pieces fill a 5 × 5 shape

Name it

Theorem 17.0.1 · Sum of numbers formula

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

1 + 2 + 3 + … + 10: 10 pairs of 1 + 10 = 11 make 2S = 110, so S = 55

first term1
difference1
terms n10
12345678910
S = 1 + 2 + 3 + … + 10 = 55

1 + 2 + 3 + … + 10: press Fold to pair the terms

Theorem 17.0.2 · Sum of odd numbers formula

1+3+5+⋯+(2n−1)=n21 + 3 + 5 + \cdots + (2n - 1) = n^2

In simple terms, the sum of the first nn odd numbers is n2n^2.

Theorem 17.0.3 · Sum of even numbers formula

2+4+6+⋯+2n=n(n+1)2 + 4 + 6 + \cdots + 2n = n(n+1)

To think about it intuitively, just take 22 out of each term:

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

Theorem 17.0.4 · Sum of squares formula

12+22+⋯+n2=n(n+1)(2n+1)61^2 + 2^2 + \cdots + n^2 = \frac{n(n+1)(2n+1)}{6}

Theorem 17.0.5 · Sum of cubes formula

13+23+⋯+n3=(n(n+1)2)21^3 + 2^3 + \cdots + n^3 = \left(\frac{n(n+1)}{2}\right)^2

Try it

Problem 17.2.15(additional)

AMC 10Challenge

The sum of the first mm positive odd integers is 212212 more than the sum of the first nn positive even integers. What is the sum of all possible values of nn?

Problem 17.2.3

AMC 10

Seven cubes, whose volumes are 11, 88, 2727, 6464, 125125, 216216, and 343343 cubic units, are stacked vertically to form a tower in which the volumes of the cubes decrease from bottom to top. Except for the bottom cube, the bottom face of each cube lies completely on top of the cube below it. What is the total surface area of the tower (including the bottom) in square units?

1² + 2² + 3² + 4² + 5² + 6² + 7² = 140; 3 copies fill a 28 × 15 rectangle

n7
copies3

Three copies of the sum fill a 28 × 15 rectangle, so the sum is a third of it.

1² + 2² + 3² + 4² + 5² + 6² + 7² = 140
12+22+⋯+n2=n(n+1)(2n+1)6  ⇒  7⋅8⋅156=1401^2 + 2^2 + \cdots + n^2 = \frac{n(n+1)(2n+1)}{6} \;\Rightarrow\; \frac{7 \cdot 8 \cdot 15}{6} = 140

1² + 2² + 3² + 4² + 5² + 6² + 7² = 140; 3 copies fill a 28 × 15 rectangle

Contest cornerreal contest problems

Problem 17.2.4

AMC 12

Rows 11, 22, 33, 44, and 55 of a triangular array of integers are shown below:

1111311551171171\begin{array}{ccccccccc} &&&& 1 &&&& \\ &&& 1 && 1 &&& \\ && 1 && 3 && 1 && \\ & 1 && 5 && 5 && 1 & \\ 1 && 7 && 11 && 7 && 1 \end{array}

Each row after the first row is formed by placing a 11 at each end of the row, and each interior entry is 11 greater than the sum of the two numbers diagonally above it in the previous row. What is the units digit of the sum of the 20232023 numbers in the 20232023rd row?

Checkpoint for section 17.0

Get 2 of 3 right to master this section. One try each, no hints.
1

What is 1+2+3+⋯+1001 + 2 + 3 + \cdots + 100?

2

What is 1+3+5+⋯+991 + 3 + 5 + \cdots + 99?

3

What is 13+23+⋯+103−(12+22+⋯+102)1^3 + 2^3 + \cdots + 10^3 - (1^2 + 2^2 + \cdots + 10^2)?

17.10%

Telescoping

In this section you will be able to collapse long sums and products by cancelling neighbors, and spot sequences that repeat.

The fraction 1k2+k\frac{1}{k^2 + k} splits into 1k−1k+1\frac1k - \frac1{k+1}. Add a block of them and almost everything cancels.

A telescoping sum is a chain where each term’s back half cancels the next term’s front half, like the sections of a collapsing telescope. Write the first few and last few terms, cross out the matching pieces, and keep what is left.

Products telescope too: in 21⋅32⋅43\frac21 \cdot \frac32 \cdot \frac43, each numerator cancels the next denominator.

A recurrence can also fold back on itself. When the terms start repeating, a huge index like x975x_{975} is just a small one in disguise. Find the cycle length and reduce the index.

Exploreplay first, formulas later

Sum of 1/(k(k+1)) for k = 3 to 7: each −1/(k+1) cancels the next +1/(k+1), leaving 1/3 − 1/8 = 5/24

last k7
1/(3·4)(13 − 14)
+1/(4·5)(14 − 15)
+1/(5·6)(15 − 16)
+1/(6·7)(16 − 17)
+1/(7·8)(17 − 18)
0 of 4 cancellations

0 of 4 cancellations done

Name it

Concept 17.1.1 · Telescoping

Expand the first few and last few terms, and cancel out any terms you see.

Watch itpredict, then reveal

Example 17.1

AIME

Consider the sequence defined by ak=1k2+ka_k = \dfrac{1}{k^2 + k} for k≥1k \ge 1. Given that am+am+1+⋯+an−1=129a_m + a_{m+1} + \cdots + a_{n-1} = \dfrac{1}{29}, for positive integers mm and nn with m<nm < n, find m+nm + n.

Cancel cascade (its total is revealed at the end of the example)

last k7
1/(3·4)(13 − 14)
+1/(4·5)(14 − 15)
+1/(5·6)(15 − 16)
+1/(6·7)(16 − 17)
+1/(7·8)(17 − 18)
0 of 4 cancellations

0 of 4 cancellations done

  1. 1

    Factor the denominator: k2+k=k(k+1)k^2 + k = k(k+1). Which difference of two simple fractions equals 1k(k+1)\frac{1}{k(k+1)}?

    Predict first:
    Click a choice or type its letter (A–E).
open on YouTube

Example 17.2

Omega Learn

Let the sequence ana_n be defined as an=31+2+3+⋯+na_n = 3^{1+2+3+\cdots+n} for all positive integers nn. Sohil is trying to evaluate the following sequence: 12×23×34×⋯\frac{1}{2} \times \frac{2}{3} \times \frac{3}{4} \times \cdots. Because of his bad handwriting, he accidentally writes a plus sign instead of the multiplication sign before all fractions of the form anan+1\frac{a_n}{a_n + 1} (for example, 3131+1,3(1+2)3(1+2)+1,…\frac{3^1}{3^1 + 1}, \frac{3^{(1+2)}}{3^{(1+2)} + 1}, \ldots). What is the value of the new expression?

Cancel cascade (its total is revealed at the end of the example)

34
×45
×56
×⋯
×2526
×2627
0 of 5 cancellations

0 of 5 cancellations done

  1. 1

    Find the first few terms: a1=31a_1 = 3^1, a2=31+2a_2 = 3^{1+2}, a3=31+2+3a_3 = 3^{1+2+3}. What is a3a_3?

    Predict first:
open on YouTube

Example 17.3

AIME

Given that

x1=211,x2=375,x3=420,x4=523, andxn=xn−1−xn−2+xn−3−xn−4 when n≥5,\begin{aligned} x_1 &= 211, \\ x_2 &= 375, \\ x_3 &= 420, \\ x_4 &= 523, \text{ and} \\ x_n &= x_{n-1} - x_{n-2} + x_{n-3} - x_{n-4} \text{ when } n \ge 5, \end{aligned}

find the value of x531+x753+x975x_{531} + x_{753} + x_{975}.

Power cycle (its total is revealed at the end of the example)

xn=xn−1−xn−2+xn−3−xn−4x_n = x_{n-1} - x_{n-2} + x_{n-3} - x_{n-4}

  1. x1x_{1}211
  2. x2x_{2}375
  3. x3x_{3}420
  4. x4x_{4}523
  5. x5x_{5}267
  6. x6x_{6}-211
  7. x7x_{7}-375
cycle length 10

x_n = x_(n−1) − x_(n−2) + x_(n−3) − x_(n−4): the terms repeat 211, 375, 420, 523, 267, -211, -375, -420, -523, -267 (length 10)

  1. 1

    Compute the next term, x5=x4−x3+x2−x1x_5 = x_4 - x_3 + x_2 - x_1.

    Predict first:
open on YouTube

Try it

Problem 17.2.1

AMC 8

What is the value of the product

(1⋅32⋅2)(2⋅43⋅3)(3⋅54⋅4)⋯(97⋅9998⋅98)(98⋅10099⋅99)?\left(\frac{1 \cdot 3}{2 \cdot 2}\right)\left(\frac{2 \cdot 4}{3 \cdot 3}\right)\left(\frac{3 \cdot 5}{4 \cdot 4}\right) \cdots \left(\frac{97 \cdot 99}{98 \cdot 98}\right)\left(\frac{98 \cdot 100}{99 \cdot 99}\right)?

Product of 5 fractions for k = 1 to 5: after cancelling, 7 / 2 · 6 = 7/12

last k5
1·32·2
×2·43·3
×3·54·4
×4·65·5
×5·76·6
0 of 8 cancellations

0 of 8 cancellations done

Problem 17.2.8(additional)

AHSME

Find the sum 11(3)+13(5)+⋯+1(2n−1)(2n+1)+⋯+1255(257)\dfrac{1}{1(3)} + \dfrac{1}{3(5)} + \cdots + \dfrac{1}{(2n-1)(2n+1)} + \cdots + \dfrac{1}{255(257)}.

Sum of 1/((2k − 1)(2k + 1)) for k = 1 to 4: each term is 1/2 × (1/(2k − 1) − 1/(2k + 1)), and the middle cancels, leaving 1/2 × (1/1 − 1/9) = 4/9

last k4
1/(1·3)12(11 − 13)
+1/(3·5)12(13 − 15)
+1/(5·7)12(15 − 17)
+1/(7·9)12(17 − 19)
0 of 3 cancellations

0 of 3 cancellations done

Problem 17.2.12(additional)

Evaluate

(1−(13)2)(1−(14)2)(1−(15)2)⋯\left(1 - \left(\frac13\right)^2\right)\left(1 - \left(\frac14\right)^2\right)\left(1 - \left(\frac15\right)^2\right) \cdots

Product of 5 fractions for k = 3 to 7: after cancelling, 2 · 8 / 3 · 7 = 16/21

last k7
2·43·3
×3·54·4
×4·65·5
×5·76·6
×6·87·7
0 of 8 cancellations

0 of 8 cancellations done

Contest cornerreal contest problems

Problem 17.2.2

AMC 10

Let f(x)=x2(1−x)2f(x) = x^2(1 - x)^2. What is the value of the sum

f(12019)−f(22019)+f(32019)−f(42019)+⋯+f(20172019)−f(20182019)?f\left(\frac{1}{2019}\right) - f\left(\frac{2}{2019}\right) + f\left(\frac{3}{2019}\right) - f\left(\frac{4}{2019}\right) + \cdots + f\left(\frac{2017}{2019}\right) - f\left(\frac{2018}{2019}\right)?

Problem 17.2.6(additional)

AHSME

If Tn=1+2+3+⋯+nT_n = 1 + 2 + 3 + \cdots + n and

Pn=T2T2−1⋅T3T3−1⋅T4T4−1⋅⋯⋅TnTn−1P_n = \frac{T_2}{T_2 - 1} \cdot \frac{T_3}{T_3 - 1} \cdot \frac{T_4}{T_4 - 1} \cdot \cdots \cdot \frac{T_n}{T_n - 1}

for n=2,3,4,…n = 2, 3, 4, \ldots, then P1991P_{1991} is closest to which of the following numbers?

Product of 5 fractions for k = 2 to 6: after cancelling, 3 · 6 / 8 = 9/4

last k6
2·31·4
×3·42·5
×4·53·6
×5·64·7
×6·75·8
0 of 8 cancellations

0 of 8 cancellations done

Click a choice or type its letter (A–E).

Problem 17.2.10(additional)

AMC 10

The Fibonacci sequence 1,1,2,3,5,8,13,21,…1, 1, 2, 3, 5, 8, 13, 21, \ldots starts with two 11s, and each term afterwards is the sum of its two predecessors. Which one of the ten digits is the last to appear in the units position of a number in the Fibonacci sequence?

Problem 17.2.13(additional)

AIME

A sequence of integers a1,a2,a3,…a_1, a_2, a_3, \ldots is chosen so that an=an−1−an−2a_n = a_{n-1} - a_{n-2} for each n≥3n \ge 3. What is the sum of the first 20012001 terms of this sequence if the sum of the first 14921492 terms is 19851985, and the sum of the first 19851985 terms is 14921492?

a_n = a_(n−1) − a_(n−2): the terms repeat 2, 5, 3, -2, -5, -3 (length 6)

a12
a25

an=an−1−an−2a_n = a_{n-1} - a_{n-2}

  1. a1a_{1}2S = 2
  2. a2a_{2}5S = 7
  3. a3a_{3}3S = 10
  4. a4a_{4}-2S = 8
  5. a5a_{5}-5S = 3
  6. a6a_{6}-3S = 0
  7. a7a_{7}2S = 2
  8. a8a_{8}5S = 7
cycle length 6

a_n = a_(n−1) − a_(n−2): the terms repeat 2, 5, 3, -2, -5, -3 (length 6)

Problem 17.2.14(additional)

AMC 12

Set u0=14u_0 = \frac14, and for k≥0k \ge 0 let uk+1u_{k+1} be determined by the recurrence

uk+1=2uk−2uk2.u_{k+1} = 2u_k - 2u_k^2.

This sequence tends to a limit; call it LL. What is the least value of kk such that

∣uk−L∣≤121000?|u_k - L| \le \frac{1}{2^{1000}}?

Problem 17.2.5

AMC 10Challenge

Hiram's algebra notes are 5050 pages long and are printed on 2525 sheets of paper; the first sheet contains pages 11 and 22, the second sheet contains pages 33 and 44, and so on. One day he leaves his notes on the table before leaving for lunch, and his roommate decides to borrow some pages from the middle of the notes. When Hiram comes back, he discovers that his roommate has taken a consecutive set of sheets from the notes and that the average (mean) of the page numbers on all remaining sheets is exactly 1919. How many sheets were borrowed?

Checkpoint for section 17.1

Get 2 of 3 right to master this section. One try each, no hints.
1

Evaluate 11⋅2+12⋅3+⋯+19⋅10\dfrac{1}{1 \cdot 2} + \dfrac{1}{2 \cdot 3} + \cdots + \dfrac{1}{9 \cdot 10}.

2

Evaluate 21⋅32⋅43⋯5049\dfrac{2}{1} \cdot \dfrac{3}{2} \cdot \dfrac{4}{3} \cdots \dfrac{50}{49}.

3

A sequence has a1=1a_1 = 1, a2=2a_2 = 2 and an=an−1−an−2a_n = a_{n-1} - a_{n-2} for n≥3n \ge 3. What is a100a_{100}?

17.2

Practice Problems

In this section you will be able to mix sums of powers, telescoping and repeating sequences on harder contest problems.

These five problems need a sum formula, a telescoping product or a pattern you have to prove. Every problem has three hints if you get stuck.

Want every problem from this chapter on one page? Open the problem set.

Contest cornerreal contest problems

Problem 17.2.7(additional)

AMC 12

Let AA be the set of positive integers that have no prime factors other than 22, 33, or 55. The infinite sum

11+12+13+14+15+16+18+19+110+112+115+116+118+120+⋯\frac11 + \frac12 + \frac13 + \frac14 + \frac15 + \frac16 + \frac18 + \frac19 + \frac1{10} + \frac1{12} + \frac1{15} + \frac1{16} + \frac1{18} + \frac1{20} + \cdots

of the reciprocals of the elements of AA can be expressed as mn\frac{m}{n}, where mm and nn are relatively prime positive integers. What is m+nm + n?

Problem 17.2.9(additional)

AMC 12B

Consider a decreasing sequence of nn positive integers x1>x2>⋯>xnx_1 > x_2 > \cdots > x_n that satisfies the following conditions: The average of the first 33 terms in the sequence is 20252025. For all 4<k<n4 < k < n, the average of the first kk terms is 11 less than the average of the first k−1k - 1 terms. What is the greatest possible value of nn?

Problem 17.2.11(additional)

AIME

Call a three-term strictly increasing arithmetic sequence of integers special if the sum of the squares of the three terms equals the product of the middle term and the square of the common difference. Find the sum of the third terms of all special sequences.

Problem 17.2.16(additional)

AIMEChallenge

The sequence {an}\{a_n\} is defined by

a0=1,a1=1,andan=an−1+an−12an−2 for n≥2.a_0 = 1, \quad a_1 = 1, \quad \text{and} \quad a_n = a_{n-1} + \frac{a_{n-1}^2}{a_{n-2}} \text{ for } n \ge 2.

The sequence {bn}\{b_n\} is defined by

b0=1,b1=3,andbn=bn−1+bn−12bn−2 for n≥2.b_0 = 1, \quad b_1 = 3, \quad \text{and} \quad b_n = b_{n-1} + \frac{b_{n-1}^2}{b_{n-2}} \text{ for } n \ge 2.

Find b32a32\dfrac{b_{32}}{a_{32}}.

Problem 17.2.17(additional)

AIMEChallenge

The terms of the sequence (ai)(a_i) defined by an+2=an+20091+an+1a_{n+2} = \dfrac{a_n + 2009}{1 + a_{n+1}} for n≥1n \ge 1 are positive integers. Find the minimum possible value of a1+a2a_1 + a_2.