WDC Learn

Sequences & Series

Arithmetic and geometric sums, infinite and arithmetico-geometric series, telescoping sums, linear recurrences, periodic sequences, power sums, and floor sums.

≈4–5 problems per paper9 lessons6 worked examples30 practice problems4 videos

On the AMC 12, sequences and series rarely appear as a standalone topic. They hide inside problems about money, schedules, bouncing balls, digits, and recursive rules. Expect roughly four to five problems per paper. The early ones (#1 to #5) apply the arithmetic and geometric formulas after identifying a1a_1, dd, or rr. Problems near #10 combine a formula with a small twist, such as a bounce that must be counted carefully or a telescoping decomposition with a non-unit gap. The hardest ones (#20 to #25) demand that you discover a telescoping function, a characteristic equation, or a block structure for a floor sum on your own.

The skill ladder is consistent across all levels. First recognize the type of sum or recurrence, then reach for the matching derivation: the pairing trick for arithmetic sums, shift-and-subtract for geometric and arithmetico-geometric sums, partial fractions for telescoping, the characteristic equation for linear recurrences, and block counting for floors. Finally, verify the answer by computing a few small cases by hand. Most lost points come from off-by-one index counts, from applying the infinite formula without checking ∣r∣<1|r|<1, and from misreading the gap in a telescoping product.

For study, work each derivation until you can reproduce it without notes, because the derivations generalize to forms that no formula sheet covers. Then compute small cases explicitly, such as the first five terms of a recurrence or the sum for N=3N=3, before trusting a closed form. The six worked examples in this topic escalate from a direct arithmetic count to a quadratic arithmetico-geometric sum, and each takeaway names the reusable move. The thirty practice problems follow the same escalation, so work them in order and keep a list of the traps you fall into.

Helpful first: Algebraic Manipulation, Number Theory

1.Arithmetic sequences and series

An arithmetic sequence adds the same amount dd, the common difference, at every step. Its general term is an=a1+(n−1)da_n = a_1 + (n-1)d. The factor n−1n-1, not nn, is the most common source of off-by-one errors: between the first term and the nnth term there are exactly n−1n-1 gaps, each of size dd. Equivalently, ana_n is a linear function of nn with slope dd, which is why arithmetic sequences are exactly the sequences whose consecutive differences are constant. Two terms ama_m and ana_n therefore determine the whole sequence, since an−am=(n−m)da_n - a_m = (n-m)d.

The sum formula comes from a pairing trick. Write S=a1+a2+⋯+anS = a_1 + a_2 + \cdots + a_n and also write the same sum backwards, S=an+an−1+⋯+a1S = a_n + a_{n-1} + \cdots + a_1. Adding the two rows term by term, every column has the same total, because ak+an+1−k=a1+ana_k + a_{n+1-k} = a_1 + a_n for each kk. There are nn columns, so 2S=n(a1+an)2S = n(a_1 + a_n), and therefore S=n(a1+an)2S = \frac{n(a_1+a_n)}{2}. This is the average of the first and last terms times the number of terms, which is exactly what one expects for evenly spaced numbers. Gauss is said to have found this as a child by pairing 11 with 100100, 22 with 9999, and so on; the identity works for any arithmetic sequence, not only consecutive integers.

For a concrete case, consider 2+5+8+⋯+502 + 5 + 8 + \cdots + 50. Here a1=2a_1 = 2, d=3d = 3, and the last term gives 50=2+3(n−1)50 = 2 + 3(n-1), so n=17n = 17. The sum is 17(2+50)2=442\frac{17(2+50)}{2} = 442. The important point is that the number of terms must be found first, and the solver should be suspicious of any answer that does not come from nn explicitly. If the last term is not given, one solves for nn from an=a1+(n−1)da_n = a_1 + (n-1)d before doing anything else.

Some structural facts recur constantly. Among any odd number of consecutive terms, the middle term equals their average, so the sum of an odd-length block is the middle term times the count. Counting how many terms of an arithmetic sequence lie in an interval is itself a floor problem: the terms a1+kda_1 + kd inside an interval correspond to the integers kk in an interval of length (end minus start) divided by dd, so the count is a floor expression. This link to floor functions is developed in the last lesson of this topic.

When a problem describes a list by a rule, first identify a1a_1, dd, and the last term, then decide which formula is needed. Many problems give two terms and ask for a third or for a sum, so the first skill is to solve the two-equation linear system for a1a_1 and dd. Remember that dd may be negative, and the same formulas work for decreasing sequences. Finally, if a problem sums only part of a sequence, subtract the initial block from the full sum instead of adjusting the formula's index, which is safer under time pressure.

KEY FACTS
  • an=a1+(n−1)da_n = a_1 + (n-1)d, and an−am=(n−m)da_n - a_m = (n-m)d
  • Sn=n(a1+an)2=n (2a1+(n−1)d)2S_n = \frac{n(a_1+a_n)}{2} = \frac{n\,(2a_1+(n-1)d)}{2}
  • 1+2+⋯+n=n(n+1)21+2+\cdots+n=\frac{n(n+1)}{2}, the Gauss pairing identity

Spot it: Consecutive terms differ by a constant, or the problem asks for a total of evenly spaced numbers, or it asks for the count of terms in an arithmetic list.

COMMON MISTAKES
  • Using a1+nda_1 + nd for the nnth term, which is the (n+1)(n+1)st term.
  • Forgetting that the number of terms from aa to bb with step dd is b−ad+1\frac{b-a}{d}+1, not b−ad\frac{b-a}{d}.
TRY IT

Find the sum of the first 3030 terms of the arithmetic sequence with first term 44 and common difference 55.

Practise this lesson (5 problems) →

2.Geometric sequences and finite sums

A geometric sequence multiplies by a fixed ratio rr at each step, so gn=a r n−1g_n = a\,r^{\,n-1}. Arithmetic sequences grow linearly and geometric ones grow or decay exponentially, and confusing the two is one of the most frequent errors on the exam. A quick test: if consecutive differences are constant the sequence is arithmetic, and if consecutive ratios are constant it is geometric. The sequence 3,6,12,243, 6, 12, 24 has ratio 22, and a balance growing by 5%5\% a year has ratio 1.051.05.

To sum nn terms, let S=a+ar+ar2+⋯+arn−1S = a + ar + ar^2 + \cdots + ar^{n-1}. Multiplying by rr shifts every term one place to the right, so rS=ar+ar2+⋯+arnrS = ar + ar^2 + \cdots + ar^{n}. Subtracting, almost everything cancels: S−rS=a−arnS - rS = a - ar^{n}. Hence S=a(1−rn)1−rS = \frac{a(1-r^n)}{1-r} whenever r≠1r \neq 1. The idea is that a sum and its scaled copy overlap almost entirely, so subtracting them isolates the two ends. This shift-and-subtract method returns in the arithmetico-geometric and recurrence lessons, and it is worth mastering here.

The formula has two useful forms. When ∣r∣>1|r|>1, write it as S=a(rn−1)r−1S = \frac{a(r^n-1)}{r-1} so that all quantities stay positive and sign errors are avoided. When r=1r=1 the sum is simply nana. As an example, the sum of nn terms of 2+6+18+⋯2+6+18+\cdots is 2(3n−1)3−1=3n−1\frac{2(3^n-1)}{3-1} = 3^n - 1. So the partial sums of this sequence are one less than the powers of three, a clean identity worth remembering because it solves many counting-by-accumulation problems at once.

Questions of the form 'how many terms until the total exceeds a bound' are solved by evaluating the closed form at small nn rather than by logarithms. Since 36−1=728<1000<2186=37−13^6 - 1 = 728 < 1000 < 2186 = 3^7 - 1, exactly seven terms are needed to pass 10001000. The exact check is faster and more reliable than an estimate, and it avoids the rounding issues that arise when a logarithm is nearly an integer.

Geometric sums are also the building blocks of many other formulas. The factor 11−r\frac{1}{1-r} that appears in the infinite case is already visible in the finite formula, and the next lesson exploits this by letting nn grow without bound. Keep in mind that the finite formula needs r≠1r \neq 1; for r=1r = 1 the sum is nana, and a student who divides by 1−r1-r without checking this case will obtain a meaningless expression.

KEY FACTS
  • Sn=a 1−rn1−rS_n = a\,\frac{1-r^n}{1-r} for r≠1r \neq 1, and Sn=naS_n = na for r=1r=1
  • 1+r+r2+⋯+rn−1=rn−1r−11 + r + r^2 + \cdots + r^{n-1} = \frac{r^n - 1}{r - 1}
  • 2+6+18+⋯2+6+18+\cdots with nn terms sums to 3n−13^n-1

Spot it: Consecutive ratios are constant, or a total accumulates a quantity multiplied by a fixed factor at each stage, such as repeated doubling, rebounds, or compound growth.

COMMON MISTAKES
  • Writing a(1−rn)1−r\frac{a(1-r^n)}{1-r} with nn terms in one case and n+1n+1 in another; the exponent must equal the number of terms.
  • Applying the finite formula with r=1r=1, where the denominator vanishes; the answer is nana instead.
TRY IT

Compute 5+10+20+⋯+5⋅295 + 10 + 20 + \cdots + 5\cdot 2^{9}.

Practise this lesson (4 problems) →

3.Infinite geometric series

An infinite geometric series a+ar+ar2+⋯a + ar + ar^2 + \cdots has a finite sum exactly when its partial sums settle down. From Sn=a1−rn1−rS_n = a\frac{1-r^n}{1-r}, the term rnr^n controls everything. If ∣r∣<1|r|<1 then rn→0r^n \to 0 and Sn→a1−rS_n \to \frac{a}{1-r}. If ∣r∣≥1|r|\geq 1 the powers rnr^n do not tend to zero, so the partial sums do not converge. For r=1r=1 they grow without bound, and for r=−1r=-1 they oscillate between aa and 00, so no finite sum exists.

Why does ∣r∣<1|r|<1 matter so much? Each term is a fixed fraction of the previous one, so the tail after nn terms is itself a geometric series with first term arnar^n. Its total is arn1−r\frac{ar^n}{1-r}, which is small when ∣r∣n|r|^n is small. This gives an error estimate: after nn terms one is within ∣a∣ ∣r∣n∣1−r∣\frac{|a|\,|r|^n}{|1-r|} of the total. For 1+12+14+⋯1 + \frac12 + \frac14 + \cdots the error after ten terms is 2210=1512\frac{2}{2^{10}} = \frac{1}{512}, which is easy to check by hand.

The standard use is converting a repeating decimal into a fraction. Consider 0.7‾=0.777…=710+7100+⋯0.\overline{7} = 0.777\ldots = \frac{7}{10} + \frac{7}{100} + \cdots. The first term is 710\frac{7}{10} and the ratio is 110\frac{1}{10}, so the sum is 7/101−1/10=79\frac{7/10}{1-1/10} = \frac{7}{9}. A block BB of pp repeating digits gives 0.B‾=B10p−10.\overline{B} = \frac{B}{10^p-1}, which is exactly the formula above with ratio 10−p10^{-p}. This is the fastest route for any repeating decimal, and it is a favorite source of quick points.

The most common error is applying a1−r\frac{a}{1-r} without checking the convergence condition. A student who writes 1−2+4−8+⋯=11−(−2)=131-2+4-8+\cdots = \frac{1}{1-(-2)} = \frac13 has used the formula outside its range, because ∣r∣=2>1|r|=2>1; the series diverges. Always write down ∣r∣|r| before using the formula. A second error concerns the starting index: the formula a1−r\frac{a}{1-r} is correct when the first term is aa, and if the series starts later, say at k=2k=2, the first term is still aa and the formula still applies, but a solver who starts the sum at a different place must recompute aa.

The infinite case is the limit of the finite formula and gives a clean principle: a geometric series with ratio rr has sum a1−r\frac{a}{1-r} exactly when rr lies in the open interval (−1,1)(-1,1). Contest problems often hide a convergent geometric series inside a larger expression, such as a sum of ckrkc_k r^k where ckc_k is polynomial in kk. Those are handled by the arithmetico-geometric method of a later lesson, which reduces the polynomial factor one degree at a time.

KEY FACTS
  • a+ar+ar2+⋯=a1−ra + ar + ar^2 + \cdots = \frac{a}{1-r} when ∣r∣<1|r|<1
  • The tail after nn terms equals arn1−r\frac{a r^n}{1-r}
  • 0.B‾=B10p−10.\overline{B} = \frac{B}{10^p-1} for a block BB of pp repeating digits

Spot it: The sum runs to infinity with a fixed ratio between consecutive terms, or a repeating decimal must be written as a fraction.

COMMON MISTAKES
  • Using a1−r\frac{a}{1-r} when ∣r∣≥1|r| \geq 1; the series diverges.
  • Misreading the first term when the series is written with a sign pattern, such as 1−12+14−⋯1-\frac12+\frac14-\cdots, whose first term is 11 and ratio is −12-\frac12.
TRY IT

Express the repeating decimal 0.7‾0.\overline{7} as a fraction in lowest terms.

Practise this lesson (3 problems) →

4.Telescoping sums

A telescoping sum is one whose terms can be written as differences bk=f(k)−f(k+1)b_k = f(k) - f(k+1) of consecutive values of some function. When the terms are added, every interior value appears once with a plus sign and once with a minus sign and cancels, leaving only the first and last pieces. The partial sum is ∑k=1Nbk=f(1)−f(N+1)\sum_{k=1}^{N} b_k = f(1) - f(N+1), and this identity is the whole content of the method. The name comes from the collapse of a telescope.

The main skill is finding ff. The canonical source is partial fractions. Since 1k(k+1)=1k−1k+1\frac{1}{k(k+1)} = \frac{1}{k} - \frac{1}{k+1}, the sum ∑k=1N1k(k+1)\sum_{k=1}^{N}\frac{1}{k(k+1)} equals 1−1N+11 - \frac{1}{N+1}. More generally 1k(k+m)=1m(1k−1k+m)\frac{1}{k(k+m)} = \frac{1}{m}\left(\frac{1}{k} - \frac{1}{k+m}\right), which is checked by combining the right side over a common denominator. The factor 1m\frac{1}{m} depends on the gap mm between the two denominators, and it is a detail that is often lost under time pressure.

To derive the decomposition, write 1k(k+m)=Ak+Bk+m\frac{1}{k(k+m)} = \frac{A}{k} + \frac{B}{k+m}. Multiplying by k(k+m)k(k+m) gives 1=A(k+m)+Bk1 = A(k+m) + Bk. Setting k=0k=0 yields A=1mA = \frac{1}{m}, and setting k=−mk=-m yields B=−1mB = -\frac{1}{m}. For a linear factorization two substitutions always suffice, which is why the cover-up method is fast for these problems.

Products telescope as well. In ∏k=2N(1−1k2)\prod_{k=2}^{N}\left(1-\frac{1}{k^2}\right), each factor equals k−1k⋅k+1k\frac{k-1}{k}\cdot\frac{k+1}{k}. The first factors multiply to 1N\frac{1}{N} and the second to N+12\frac{N+1}{2}, so the product is N+12N\frac{N+1}{2N}. The same idea applies whenever a factor is a ratio g(k)g(k+1)\frac{g(k)}{g(k+1)} of consecutive values of some function, since the product then collapses to the first and last values of gg.

Radicals telescope after rationalizing. Since (k+1+k)(k+1−k)=1(\sqrt{k+1}+\sqrt{k})(\sqrt{k+1}-\sqrt{k}) = 1, one has 1k+k+1=k+1−k\frac{1}{\sqrt{k}+\sqrt{k+1}} = \sqrt{k+1} - \sqrt{k}. Summing from k=1k=1 to 4848 therefore gives 49−1=6\sqrt{49} - \sqrt{1} = 6. The recipe is the same as before: multiply by the conjugate, then look for a function whose values at consecutive integers produce the term.

Two mistakes are common. The first is forgetting the constant 1m\frac{1}{m} when the gap is m>1m>1. The second is stopping at a formula in NN and forgetting to take the limit or to evaluate at the given NN. For a convergent telescoping series the sum is f(1)f(1) minus the limit of ff at infinity, and that limit must be checked, since a limit that does not vanish changes the answer. Also note the sign: the telescope may collapse with the opposite orientation, so compute the first two partial sums to confirm.

KEY FACTS
  • ∑k=1N(f(k)−f(k+1))=f(1)−f(N+1)\sum_{k=1}^{N}\bigl(f(k)-f(k+1)\bigr) = f(1) - f(N+1)
  • 1k(k+m)=1m(1k−1k+m)\frac{1}{k(k+m)} = \frac{1}{m}\left(\frac{1}{k} - \frac{1}{k+m}\right)
  • 1k+k+1=k+1−k\frac{1}{\sqrt{k}+\sqrt{k+1}} = \sqrt{k+1} - \sqrt{k}
  • ∑k=1∞1k(k+1)=1\sum_{k=1}^{\infty}\frac{1}{k(k+1)} = 1

Spot it: A term is a rational function that factors into linear pieces, a product has factors of the form 1−1k21 - \frac{1}{k^2}, or a term contains a difference of radicals or a difference of consecutive values of a known function.

COMMON MISTAKES
  • Dropping the factor 1m\frac{1}{m} in 1k(k+m)\frac{1}{k(k+m)}.
  • Dropping the boundary term f(N+1)f(N+1) in the partial sum; it vanishes in the limit only when f(N+1)→0f(N+1)\to 0.
TRY IT

Compute ∑k=1∞1k(k+2)\displaystyle\sum_{k=1}^{\infty}\frac{1}{k(k+2)}.

Practise this lesson (7 problems) →

5.Arithmetico-geometric series

An arithmetico-geometric series multiplies an arithmetic factor by a geometric one, as in ∑k xk\sum k\,x^k or ∑(2k+1) xk\sum (2k+1)\,x^k. Neither the arithmetic nor the geometric formula applies alone, but the shift-and-subtract idea from the geometric lesson does. The linear coefficient kk grows, and the method works by reducing the degree of the polynomial factor by one at each step.

Derive ∑k=1nkxk\sum_{k=1}^{n} k x^k carefully. Let S=x+2x2+⋯+nxnS = x + 2x^2 + \cdots + nx^n. Then xS=x2+2x3+⋯+nxn+1xS = x^2 + 2x^3 + \cdots + nx^{n+1}. Subtracting, (1−x)S=x+x2+⋯+xn−nxn+1(1-x)S = x + x^2 + \cdots + x^n - nx^{n+1}. The middle part is geometric, so (1−x)S=x(1−xn)1−x−nxn+1(1-x)S = \frac{x(1-x^n)}{1-x} - nx^{n+1}. Solving gives the finite formula, and for ∣x∣<1|x|<1 the term nxn+1nx^{n+1} tends to zero, so ∑k≥1kxk=x(1−x)2\sum_{k\geq 1} k x^k = \frac{x}{(1-x)^2}. Both forms are standard, and the second is the one to memorize.

Check the infinite formula at x=12x=\frac12: it gives 1/2(1/2)2=2\frac{1/2}{(1/2)^2} = 2, and indeed 12+24+38+⋯\frac12 + \frac24 + \frac38 + \cdots sums to 22. The formula also has a derivative interpretation: ∑xk=x1−x\sum x^k = \frac{x}{1-x}, and multiplying the derivative by xx produces ∑kxk\sum k x^k. This explains the squared denominator (1−x)−2(1-x)^{-2}, though the shift-and-subtract derivation is the one to use under exam conditions.

For a combined example, consider ∑k≥12k+14k\sum_{k\geq1}\frac{2k+1}{4^k}. Split the numerator into 2k2k and 11. With x=14x=\frac14 we have ∑kxk=1/4(3/4)2=49\sum k x^k = \frac{1/4}{(3/4)^2} = \frac49 and ∑xk=1/43/4=13\sum x^k = \frac{1/4}{3/4} = \frac13. Therefore the total is 2⋅49+13=1192\cdot\frac49 + \frac13 = \frac{11}{9}. Splitting is always legitimate for convergent series, and it is the first move whenever the coefficient is linear in kk.

The next family is ∑k2xk=x(1+x)(1−x)3\sum k^2 x^k = \frac{x(1+x)}{(1-x)^3}, which follows by applying the same subtraction twice or by differentiating the previous identity. At x=13x=\frac13 it gives (1/3)(4/3)8/27=32\frac{(1/3)(4/3)}{8/27} = \frac32, and the first few terms 13+49+13+1681+⋯\frac13 + \frac49 + \frac13 + \frac{16}{81} + \cdots indeed approach 32\frac32. Expect this family whenever a sum has polynomial terms multiplied by geometric decay.

The common error is a wrong starting index. The formula x(1−x)2\frac{x}{(1-x)^2} is for kk starting at 11. If the sum starts at k=0k=0, the k=0k=0 term of kxkkx^k is 00, but the plain geometric part gains a constant term 11, so the total changes. Always rewrite the sum so that the index matches the formula before substituting.

KEY FACTS
  • ∑k≥1kxk=x(1−x)2\sum_{k\geq 1} k x^k = \frac{x}{(1-x)^2} for ∣x∣<1|x|<1
  • ∑k≥1k2xk=x(1+x)(1−x)3\sum_{k\geq 1} k^2 x^k = \frac{x(1+x)}{(1-x)^3} for ∣x∣<1|x|<1
  • ∑k=1nkxk=x(1−(n+1)xn+nxn+1)(1−x)2\sum_{k=1}^{n} k x^k = \frac{x\bigl(1-(n+1)x^n+nx^{n+1}\bigr)}{(1-x)^2}

Spot it: The summand is a polynomial in kk times xkx^k, or a linear factor multiplies a geometric power such as k/2kk/2^k.

COMMON MISTAKES
  • Summing the arithmetic and geometric parts separately with the wrong formulas, for example applying an arithmetic formula to kxkk x^k.
  • Starting the sum at the wrong index, which changes the constant term in the answer.
TRY IT

Compute ∑k=1∞k2k\displaystyle\sum_{k=1}^{\infty}\frac{k}{2^k}.

Practise this lesson (2 problems) →

6.Linear recurrences and the characteristic equation

A second-order linear recurrence has the form an+2=p an+1+q ana_{n+2} = p\,a_{n+1} + q\,a_n. Such a sequence is determined by a1a_1 and a2a_2, but computing a2025a_{2025} term by term is hopeless, so a closed form is needed. The method is to look for solutions of the form an=λna_n = \lambda^n. Substituting gives λn+2=pλn+1+qλn\lambda^{n+2} = p\lambda^{n+1} + q\lambda^n, and dividing by λn\lambda^n yields the characteristic equation λ2=pλ+q\lambda^2 = p\lambda + q.

If the characteristic equation has two distinct roots λ1≠λ2\lambda_1 \neq \lambda_2, then every combination an=Aλ1n+Bλ2na_n = A\lambda_1^n + B\lambda_2^n satisfies the recurrence. This holds because the recurrence is linear, so any linear combination of solutions is again a solution. The constants AA and BB are found from the first two terms by solving a 2×22\times2 linear system. The logic is the same as for a second-order linear differential equation.

Verify the claim directly. Substituting Aλ1n+Bλ2nA\lambda_1^n + B\lambda_2^n into an+2−pan+1−qana_{n+2} - pa_{n+1} - qa_n and grouping by AA and by BB gives Aλ1n(λ12−pλ1−q)+Bλ2n(λ22−pλ2−q)A\lambda_1^n(\lambda_1^2 - p\lambda_1 - q) + B\lambda_2^n(\lambda_2^2 - p\lambda_2 - q). Both brackets vanish because each root satisfies the characteristic equation, so the expression is zero for every nn.

As an example, take an+2=3an+1−2ana_{n+2} = 3a_{n+1} - 2a_n. The characteristic equation is λ2−3λ+2=(λ−1)(λ−2)=0\lambda^2 - 3\lambda + 2 = (\lambda-1)(\lambda-2) = 0, so an=A+B⋅2na_n = A + B\cdot 2^n. With a0=0a_0 = 0 and a1=1a_1 = 1 we get A+B=0A + B = 0 and A+2B=1A + 2B = 1, hence B=1B = 1, A=−1A = -1, and an=2n−1a_n = 2^n - 1. Check: the recurrence gives a2=3⋅1−2⋅0=3=22−1a_2 = 3\cdot 1 - 2\cdot 0 = 3 = 2^2 - 1. The closed form makes any large index trivial to compute.

A double root λ\lambda produces a factor of nn: the general solution is (A+Bn)λn(A+Bn)\lambda^n. Complex conjugate roots produce oscillation through cosine and sine, which is recognized by a negative discriminant. On the exam the most common case is distinct real roots, and the main skill is to recognize when the characteristic polynomial factors at once. The Fibonacci recurrence Fn+2=Fn+1+FnF_{n+2} = F_{n+1} + F_n has roots φ=1+52\varphi = \frac{1+\sqrt5}{2} and ψ=1−52\psi = \frac{1-\sqrt5}{2}, which gives Binet's formula.

Two warnings. First, put the recurrence into the standard form with the largest index on the left. A recurrence written as an=3an−1−2an−2a_n = 3a_{n-1} - 2a_{n-2} has the same characteristic equation, but the initial conditions must be matched to the correct indices. Second, a recurrence with a constant term, such as an+2=an+1+an+1a_{n+2} = a_{n+1} + a_n + 1, needs a particular solution added to the homogeneous one, and the constant is found by substituting a constant trial value.

KEY FACTS
  • an+2=p an+1+q ana_{n+2} = p\,a_{n+1} + q\,a_n has characteristic equation λ2=pλ+q\lambda^2 = p\lambda + q
  • For distinct roots, an=Aλ1n+Bλ2na_n = A\lambda_1^n + B\lambda_2^n
  • For a double root λ\lambda, an=(A+Bn)λna_n = (A + Bn)\lambda^n
  • Binet's formula: Fn=φn−ψn5F_n = \frac{\varphi^n - \psi^n}{\sqrt5}

Spot it: A term is defined by a linear combination of the previous two (or more) terms with constant coefficients, and the problem asks for a far-away term, a remainder, or a sum.

COMMON MISTAKES
  • Mismatching the initial conditions with the index shift, so the constants AA and BB are wrong.
  • Forgetting the constant particular solution when the recurrence has an additive constant.
TRY IT

Let a0=0a_0 = 0, a1=1a_1 = 1, and an+2=3an+1−2ana_{n+2} = 3a_{n+1} - 2a_n. Find a5a_5.

Practise this lesson (4 problems) →

7.Periodic sequences and cycles

A sequence is periodic with period pp if an+p=ana_{n+p} = a_n for all nn. Periodicity is often hidden: a recursive rule does not mention periods, but if the iteration returns to its starting state after pp steps the whole sequence repeats from that point on. The practical method is to compute the first several terms, watch for the first repeat of a state, and conclude. For a first-order rule an+1=f(an)a_{n+1}=f(a_n) the state is one term, and once a value recurs the sequence must cycle from then on.

The argument is short. If ak=aja_k = a_j for some j<kj<k, then ak+1=f(ak)=f(aj)=aj+1a_{k+1} = f(a_k) = f(a_j) = a_{j+1}, and by induction ak+m=aj+ma_{k+m} = a_{j+m} for every m≥0m\geq0. So the sequence from index jj onward has period k−jk-j, and any transient before index jj is not part of the cycle. The same proof works for a rule that uses the last two terms: the pair (an,an+1)(a_n, a_{n+1}) is the state, and a repeated pair forces a cycle. The sequence 5,8,3,5,2,3,1,2,1,1,0,1,1,0,…5, 8, 3, 5, 2, 3, 1, 2, 1, 1, 0, 1, 1, 0, \ldots with an+2=∣an+1−an∣a_{n+2}=|a_{n+1}-a_n| falls into the block 0,1,10,1,1 only after a transient.

Once the period pp is known, reduce indices. Write N=qp+rN = qp + r with 0≤r<p0 \le r < p. Then aN=ara_N = a_r when r≥1r \geq 1 and aN=apa_N = a_p when r=0r = 0. For sums, ∑n=1Nan=q∑n=1pan+∑n=1ran\sum_{n=1}^{N} a_n = q\sum_{n=1}^{p} a_n + \sum_{n=1}^{r} a_n. The boundary case r=0r=0 means the sum is exactly qq full periods, and that is the most common place to make an error.

As an example, let a1=3a_1 = 3 and an+1=1−1ana_{n+1} = 1 - \frac{1}{a_n}. The terms are 3,23,−12,3,…3, \frac23, -\frac12, 3, \ldots, which is a cycle of length 33 with sum 3+23−12=1963 + \frac23 - \frac12 = \frac{19}{6}. Since 100=3⋅33+1100 = 3\cdot 33 + 1, the first 9999 terms are 3333 complete cycles and a100=a1=3a_{100} = a_1 = 3. The total is 33⋅196+3=215233\cdot\frac{19}{6} + 3 = \frac{215}{2}. Note that the map x↦1−1xx\mapsto 1-\frac1x is a Möbius transformation, and its period is governed by a matrix power, a viewpoint that explains why the period is small here.

Modular cycles are the most common source of periodicity in contests. The powers 2n mod 132^n \bmod 13 run through 2,4,8,3,6,12,11,9,5,10,7,12,4,8,3,6,12,11,9,5,10,7,1 and then repeat, so the period is 1212. Any sequence defined by multiplication modulo mm is eventually periodic, because there are only finitely many residues. The period is the order of the multiplier, which for 22 modulo 1313 is 1212 because 22 is a primitive root modulo 1313. Check the actual cycle rather than guessing the period from the modulus.

Common mistakes include reading the period off the first few terms before the transient has ended, and mixing up whether the first term has index 11 or 00, which changes the residue of NN by one. Always test your reduction on a small index by listing the terms explicitly, and make sure your formula aN=ara_N = a_r agrees with the listed values before you rely on it.

KEY FACTS
  • an+p=ana_{n+p} = a_n for all nn means the sequence has period pp
  • ∑n=1qp+ran=q∑n=1pan+∑n=1ran\sum_{n=1}^{qp+r} a_n = q\sum_{n=1}^{p} a_n + \sum_{n=1}^{r} a_n for 0≤r<p0 \le r < p
  • The powers 2n mod 132^n \bmod 13 have period 1212

Spot it: A rule of the form an+1=f(an)a_{n+1}=f(a_n) or a recurrence with a modulus, or a problem asks for a sum over a huge number of terms of an eventually repeating sequence.

COMMON MISTAKES
  • Taking the period from the first few terms when a transient is still present.
  • Confusing the period with the number of residues; the period is the order of the multiplier.
TRY IT

Let a1=2a_1 = 2 and an+1=11−ana_{n+1} = \dfrac{1}{1-a_n} for n≥1n \geq 1. Find a100a_{100}.

Practise this lesson (3 problems) →

8.Power-sum formulas with derivations

Three power sums come up constantly: ∑k=1nk=n(n+1)2\sum_{k=1}^n k = \frac{n(n+1)}{2}, ∑k=1nk2=n(n+1)(2n+1)6\sum_{k=1}^n k^2 = \frac{n(n+1)(2n+1)}{6}, and ∑k=1nk3=(n(n+1)2)2\sum_{k=1}^n k^3 = \left(\frac{n(n+1)}{2}\right)^2. These can be memorized, but deriving them is better, because the derivation is a telescoping argument that generalizes to higher powers and to the floor-sum problems of the next lesson.

The first formula follows from the pairing argument of the arithmetic lesson, which gives 2S=n(n+1)2S = n(n+1). For squares, start from the telescoping identity (k+1)3−k3=3k2+3k+1(k+1)^3 - k^3 = 3k^2 + 3k + 1. Summing over k=1,…,nk = 1, \ldots, n, the left side telescopes to (n+1)3−1=n3+3n2+3n(n+1)^3 - 1 = n^3 + 3n^2 + 3n. The right side is 3∑k2+3∑k+n3\sum k^2 + 3\sum k + n. Substituting ∑k=n(n+1)2\sum k = \frac{n(n+1)}{2} gives 3∑k2=n3+3n2+n2=n(n+1)(2n+1)23\sum k^2 = n^3 + \frac{3n^2 + n}{2} = \frac{n(n+1)(2n+1)}{2}, so ∑k2=n(n+1)(2n+1)6\sum k^2 = \frac{n(n+1)(2n+1)}{6}.

The cube formula can be derived from the same telescoping with (k+1)4−k4(k+1)^4 - k^4, but a shortcut is more useful on the exam: the cube sum equals the square of the triangular sum, ∑k=1nk3=(∑k=1nk)2\sum_{k=1}^n k^3 = \left(\sum_{k=1}^n k\right)^2. A short induction proves it, because if Tn=∑k≤nkT_n = \sum_{k\le n} k then (Tn+(n+1))2−Tn2=2(n+1)Tn+(n+1)2=(n+1)3(T_n + (n+1))^2 - T_n^2 = 2(n+1)T_n + (n+1)^2 = (n+1)^3. Check n=2n=2: 13+23=9=321^3 + 2^3 = 9 = 3^2.

The telescoping method extends systematically to any power ∑kp\sum k^p, producing a polynomial of degree p+1p+1 whose leading term is np+1p+1\frac{n^{p+1}}{p+1}. You can recover that leading term by comparing with the integral ∫0nxp dx\int_0^n x^p\,dx, which is a useful sanity check on any answer. Most AMC problems need only the formulas for p≤3p \le 3, but understanding why they are polynomials of the stated degree prevents mistakes when a problem uses a different power.

In practice, a problem may ask for a combination such as T−QT - Q, where T=∑k3T = \sum k^3 and Q=∑k2Q = \sum k^2 over the same range. Compute each piece from its formula rather than adding the terms. Watch for sums that start at a different index: a sum from k=5k=5 to nn equals the sum from 11 to nn minus the sum from 11 to 44. This subtraction is safer than trying to shift the formula's index, and it works equally well for any power.

The most common mistake is confusing the square sum with the cube sum, or using ∑k2\sum k^2 in place of ∑k\sum k in the derivation. Test every formula on n=1n=1 and n=2n=2 before using it. For n=1n=1 the three formulas give 11, 11, and 11, and for n=2n=2 they give 33, 55, and 99, which catches most errors within a few seconds.

KEY FACTS
  • ∑k=1nk=n(n+1)2\sum_{k=1}^n k = \frac{n(n+1)}{2}
  • ∑k=1nk2=n(n+1)(2n+1)6\sum_{k=1}^n k^2 = \frac{n(n+1)(2n+1)}{6}
  • ∑k=1nk3=(∑k=1nk)2\sum_{k=1}^n k^3 = \left(\sum_{k=1}^n k\right)^2
  • (k+1)3−k3=3k2+3k+1(k+1)^3 - k^3 = 3k^2 + 3k + 1

Spot it: A sum of a polynomial in kk appears, possibly over a shifted index or as a difference of two such sums.

COMMON MISTAKES
  • Confusing ∑k2\sum k^2 with (∑k)2\left(\sum k\right)^2, which are different numbers.
  • Forgetting that a sum starting at k=mk=m must subtract the first m−1m-1 terms.
TRY IT

Compute 12+22+⋯+1021^2 + 2^2 + \cdots + 10^2.

Practise this lesson (3 problems) →

9.Floor and ceiling sums

The floor ⌊x⌋\lfloor x\rfloor is the largest integer not exceeding xx, and the ceiling ⌈x⌉\lceil x\rceil is the smallest integer not less than xx. Inside sums, floors turn a continuous quantity into a step function, so the sum becomes a count of lattice points. The basic identity is that ⌊x⌋=m\lfloor x\rfloor = m exactly when m≤x<m+1m \le x < m+1. Thus ⌊n⌋=k\lfloor\sqrt{n}\rfloor = k exactly when k2≤n<(k+1)2k^2 \le n < (k+1)^2, a block of 2k+12k+1 consecutive integers.

Counting is the cleanest method. For ∑n=1N⌊n⌋\sum_{n=1}^{N}\lfloor\sqrt{n}\rfloor, group the terms by value. The value kk appears for exactly (k+1)2−k2=2k+1(k+1)^2 - k^2 = 2k+1 integers nn, so the sum over a complete range 1≤n≤(m+1)2−11 \le n \leq (m+1)^2 - 1 equals ∑k=1mk(2k+1)\sum_{k=1}^{m} k(2k+1). Any incomplete final block is handled separately by counting how many integers remain at the last value. This reduces a floor sum to power sums, which is why it follows the power-sum lesson.

For example, to compute ∑n=1100⌊n⌋\sum_{n=1}^{100}\lfloor\sqrt{n}\rfloor, note that n=1,…,99n = 1, \ldots, 99 form complete blocks for k=1,…,9k=1,\ldots,9. The contribution is ∑k=19k(2k+1)=2⋅285+45=615\sum_{k=1}^{9} k(2k+1) = 2\cdot 285 + 45 = 615, using ∑k≤9k2=285\sum_{k\le 9}k^2 = 285 and ∑k≤9k=45\sum_{k\le9}k = 45. The term n=100n=100 contributes 1010, giving 625625. The method is reliable because each block is counted exactly once and each count is a simple formula.

Floors of a linear or rational expression are handled by a different idea. The sum ∑n=1N⌊N/n⌋\sum_{n=1}^{N}\lfloor N/n\rfloor counts the pairs (n,j)(n,j) of positive integers with nj≤Nnj \le N, since ⌊N/n⌋\lfloor N/n\rfloor is the number of jj with nj≤Nnj\le N. Swapping the roles of nn and jj gives a symmetry: pairs with n≤Nn \le \sqrt{N} and pairs with j≤Nj \le \sqrt{N} overlap in a controlled way. For N=100N=100 this yields 2∑n=110⌊100/n⌋−100=2⋅291−100=4822\sum_{n=1}^{10}\lfloor 100/n\rfloor - 100 = 2\cdot 291 - 100 = 482.

Ceilings relate to floors by ⌈x⌉=⌊x⌋+1\lceil x\rceil = \lfloor x\rfloor + 1 for non-integers and ⌈x⌉=−⌊−x⌋\lceil x\rceil = -\lfloor -x\rfloor in general. When a problem mixes them, convert everything to floors first, because counting identities for floors are the standard tools. Be careful with negative arguments: ⌊−2.5⌋=−3\lfloor -2.5\rfloor = -3, not −2-2, and this slip is easy to make when the expression is written with a minus sign inside the floor.

Floor sums are typically evaluated in three steps: identify where the value of the floor changes, count the integers in each constant block with a formula, and add the leftover partial block. Practice with small NN, where you can list every term, is the quickest route to reliability. Once the method is clear, the same steps handle ⌊n⌋\lfloor\sqrt{n}\rfloor, ⌊n/k⌋\lfloor n/k\rfloor, and sums of ⌊nα⌋\lfloor n\alpha\rfloor for simple rational α\alpha.

KEY FACTS
  • ⌊x⌋=m  ⟺  m≤x<m+1\lfloor x\rfloor = m \iff m \le x < m+1
  • #{n:⌊n⌋=k}=2k+1\#\{n : \lfloor\sqrt{n}\rfloor = k\} = 2k+1
  • ⌈x⌉=−⌊−x⌋\lceil x\rceil = -\lfloor -x\rfloor

Spot it: A sum or count involves a floor or ceiling of a function of the index, especially a square root or a quotient N/nN/n.

COMMON MISTAKES
  • Miscounting the length of a block; the number of integers with ⌊n⌋=k\lfloor\sqrt n\rfloor = k is 2k+12k+1, not 2k2k.
  • Mishandling negative arguments of the floor function.
TRY IT

Compute ∑n=116⌊n⌋\displaystyle\sum_{n=1}^{16}\lfloor\sqrt{n}\rfloor.

Practise this lesson (3 problems) →

Look for a change of variable that removes the recurrence.

A first-order recurrence with an additive constant often has a fixed point. Subtracting that fixed point leaves a geometric sequence. This is usually cleaner than expanding many terms and trying to recognise a pattern.

For sums of rational terms, inspect adjacent factors in the denominator. Partial fractions can turn the summand into the difference of consecutive terms. Write the first and last few terms explicitly: the boundary terms, rather than the middle, determine a telescoping sum.

Before you commit to a method

  • Check whether indexing begins at zero or one.
  • Verify a proposed formula against the initial value and the recurrence.
  • After telescoping, check the last uncancelled denominator.

Two problems to work through

Try the question on paper before opening its solution. For each step, explain why it follows from the previous one.

Shift a recurrence

Let a1=1a_1=1 and an+1=2an+3a_{n+1}=2a_n+3. Find a10a_{10}.

Show the full reasoning
  1. The fixed point satisfies L=2L+3L=2L+3, hence L=−3L=-3.
  2. Put bn=an+3b_n=a_n+3. Then bn+1=2bnb_{n+1}=2b_n and b1=4b_1=4.
  3. Therefore bn=4⋅2n−1=2n+1b_n=4\cdot2^{n-1}=2^{n+1}, giving an=2n+1−3a_n=2^{n+1}-3.
  4. At n=10n=10, the value is 2048−3=20452048-3=2045. Check n=1n=1: 4−3=14-3=1.

Answer: 2045

Check or vary it: If the multiplier were 11, there would be no such fixed-point division and the recurrence would be arithmetic instead.

Keep the endpoints

Find ∑k=1201/(k(k+1))\sum_{k=1}^{20}1/(k(k+1)).

Show the full reasoning
  1. Split each summand as 1/(k(k+1))=1/k−1/(k+1)1/(k(k+1))=1/k-1/(k+1).
  2. The first terms are (1−1/2)+(1/2−1/3)+(1/3−1/4)(1-1/2)+(1/2-1/3)+(1/3-1/4).
  3. Every internal fraction cancels. The final term contributes 1/20−1/211/20-1/21.
  4. The sum is 1−1/21=20/211-1/21=20/21.

Answer: 20/2120/21

Check or vary it: For a sum starting at k=mk=m and ending at nn, the same cancellation leaves 1/m−1/(n+1)1/m-1/(n+1).

Make the method stick

Close the solutions and rewrite both arguments from memory. In the topic practice below, begin with an untimed warm-up, then work through the medium problems. If you miss one, write down the first step you could not justify before checking the solution. Retry it on another day without your notes.

Write the sum twice and subtract

For a geometric or arithmetico-geometric sum, multiply the whole sum by the ratio, shift it one place, and subtract. Almost every term cancels, and what remains is a short geometric or telescoping sum. The method is reliable for any polynomial-times-geometric summand, and it is the first tool to try when the terms share a ratio.

Find the telescoping function

When terms look like 1k(k+m)\frac{1}{k(k+m)}, a product of consecutive factors, or a radical difference, look for a function ff with bk=f(k)−f(k+1)b_k = f(k) - f(k+1). Partial fractions, rationalizing, and the identity (k+1)3−k3(k+1)^3 - k^3 are the usual sources. Write the first few partial sums to confirm the telescope before trusting the limit.

Check the convergence condition first

Before applying a1−r\frac{a}{1-r}, write down ∣r∣|r|. If ∣r∣≥1|r| \geq 1 the infinite sum has no finite value, and a wrong answer obtained from the formula is one of the most common losses on the exam. A repeating decimal is convergent by construction, so it is the safe case.

Compute a few terms before trusting a formula

For a recurrence, a floor sum, or a product, list the first three to five terms explicitly and compare them with the closed form. This catches off-by-one index errors, sign errors, and wrong starting values in seconds, and it is cheaper than discovering the mistake after a long calculation.

Reduce indices modulo the period

When a sequence is periodic, identify the period from the first few terms after any transient has ended, then reduce the index. For sums over many terms, write N=qp+rN = qp + r and count full periods separately from the leftover block, and be careful with the case r=0r=0.

Solve the characteristic equation, then fit the initial values

For a linear recurrence with constant coefficients, find the roots of λ2=pλ+q\lambda^2 = p\lambda + q, write ana_n as a combination of powers of the roots, and solve a two-by-two system from the first two terms. If the characteristic polynomial factors easily, the closed form usually makes large indices and remainders trivial.

Count by blocks for floor sums

For ⌊n⌋\lfloor\sqrt n\rfloor or ⌊N/n⌋\lfloor N/n\rfloor, identify the intervals on which the floor is constant, count their lengths with a formula, and sum block by block. For quotients, use the symmetry of the lattice points (n,j)(n,j) with nj≤Nnj \leq N to halve the work.

Try each one first. “How do I start?” gives the way in; then reveal the solution one step at a time.

Example 1: Multiples of seven in a range

Warm-up · #1–5

Find the sum of all multiples of 77 from 100100 to 300300, inclusive.

  1. (A)55865586
  2. (B)56005600
  3. (C)57825782
  4. (D)60006000
  5. (E)63006300
How do I start?

Recognize an arithmetic sequence with common difference 77, and locate its first and last terms inside the range.

Example 2: Alternating geometric series

Easy · #6–10

Compute ∑n=0∞(−1)n3n\displaystyle\sum_{n=0}^{\infty}\frac{(-1)^n}{3^n}.

  1. (A)13\frac{1}{3}
  2. (B)34\frac{3}{4}
  3. (C)43\frac{4}{3}
  4. (D)32\frac{3}{2}
  5. (E)22
How do I start?

Each term is a geometric term with a negative ratio, and the ratio has absolute value less than one.

Example 3: Odd-coefficient geometric sum

Medium · #11–15

Compute ∑k=1∞2k−12k\displaystyle\sum_{k=1}^{\infty}\frac{2k-1}{2^k}.

  1. (A)22
  2. (B)52\frac{5}{2}
  3. (C)114\frac{11}{4}
  4. (D)33
  5. (E)44
How do I start?

The numerator is linear in kk, so split it into a kk-part and a constant part and use the two standard sums.

Example 4: Telescoping over three consecutive integers

Hard · #16–20

Compute ∑k=1∞1k(k+1)(k+2)\displaystyle\sum_{k=1}^{\infty}\frac{1}{k(k+1)(k+2)}.

  1. (A)112\frac{1}{12}
  2. (B)18\frac{1}{8}
  3. (C)16\frac{1}{6}
  4. (D)15\frac{1}{5}
  5. (E)14\frac{1}{4}
How do I start?

The denominator is a product of three consecutive integers, which suggests decomposing the term into a difference of two-factor products.

Example 5: Closed form of a second-order recurrence

Hard · #16–20

Let a0=1a_0 = 1, a1=4a_1 = 4, and an+2=5an+1−6ana_{n+2} = 5a_{n+1} - 6a_n for n≥0n\geq 0. Find a10a_{10}.

  1. (A)117074117074
  2. (B)118098118098
  3. (C)119000119000
  4. (D)121000121000
  5. (E)125000125000
How do I start?

The characteristic polynomial λ2−5λ+6\lambda^2 - 5\lambda + 6 factors immediately, so the closed form is a sum of two exponentials.

Example 6: Quadratic coefficient against a geometric ratio

Final five · #21–25

Compute ∑n=1∞n23n\displaystyle\sum_{n=1}^{\infty}\frac{n^2}{3^n}.

  1. (A)34\frac{3}{4}
  2. (B)32\frac{3}{2}
  3. (C)22
  4. (D)33
  5. (E)66
How do I start?

A quadratic coefficient times a geometric ratio is evaluated by the closed form for ∑n2xn\sum n^2 x^n, which comes from repeated shift-and-subtract.

Sum of an infinite geometric series | Sequences, series and induction | Precalculus | Khan Academy
Khan Academy
A short, clear walk through the convergence condition and the formula a/(1-r), good for checking the basic infinite case.
A Telescoping Sum with Partial Fraction Decomposition
Existsforall Academy
Shows the partial fraction decomposition and the collapse of a telescoping sum step by step, matching the telescoping lesson.
Sum of the infinite Geometric series; Formula derivation
S Dot Academy
Derives the finite and infinite geometric sum formulas from the shift-and-subtract argument, useful for the derivation step.
The Generating Function of Fibonacci Numbers
BiBenBap
Connects the Fibonacci recurrence to its generating function, the same linear-equation method used for problem seq-29.

30 problems, easy to hard

6 × Warm-up · #1–56 × Easy · #6–108 × Medium · #11–156 × Hard · #16–204 × Final five · #21–25
30 problems
All 30 problemsWarm-up (#1–10)Medium (#11–15)Hard (#16–25)

Next topic: Number Theory →