GamifiedGamified challengesPracticeRaceLeaderboardPricing

Learn data structures by watching them move, then doing it yourself. Press M anytime to toggle sound.

A product of Amypo Technologies, Coimbatore.

Learn

  • Fundamentals & OOPs
  • Data structures and algorithms
  • Aptitude
  • Learning path
  • How it works
  • About dotprep

Practice

  • Practice arena
  • Daily challenge
  • Gamified challenges
  • Race mode
  • Leaderboard

Interview prep

  • Java interview
  • Coding questions
  • Company questions
  • System design
  • Jobs & careers

You

  • Dashboard
  • Settings
  • Pricing
  • Create account

© 2026 dotprep

Content last updated 27 November 2026

GamifiedGamified challengesPracticeRaceLeaderboardPricing
AptitudeQuantitative aptitude · Algebra

Progressions (AP and GP)

Arithmetic and geometric progressions: nth term and sum formulas, arithmetic and geometric means, infinite GP sums, standard series, and the salary, seating and bouncing-ball word problems built on them.

5 min read 45 questions
Practice questions
36912

On this page

1/10
  1. 011. What a progression is
  2. 022. Arithmetic progressions
  3. 033. Means and inserting terms
  4. 044. Geometric progressions
  5. 055. Infinite geometric series
  6. 066. Standard sums worth memorising
  7. 077. Word problems
  8. 088. Shortcuts and traps
  9. 099. Revision sheet
  10. 10Practice
Back to top

1. What a progression is

A progression is a list of numbers built by one fixed rule, so that once you know the rule you can name any term without writing out the rest. Placement tests lean on two kinds. In an arithmetic progression (AP) you add the same number each step — 3, 7, 11, 15, … — and in a geometric progression (GP) you multiply by the same number each step — 2, 6, 18, 54, …

371115…+4
An AP: the step between neighbours is a constant (here +4), called the common difference.

The questions reward a formula, not patience: nobody wants you to add fifty numbers by hand. Learn the term formula and the sum formula for each kind, decide which kind you are looking at, and substitute. The single most common error is confusing the two — adding when you should multiply, or using the AP sum on a GP.

2. Arithmetic progressions

An AP is fixed by its first term a and its common difference d (the amount added each step; d can be negative). The term in position n is aₙ = a + (n−1)d — you take (n−1) steps of size d from the first term. The sum of the first n terms is Sₙ = n/2·(2a + (n−1)d), which is the same as n/2·(first + last) because the terms pair up symmetrically around their average.

QuantityFormula
nth termaₙ = a + (n−1)d
sum of n termsSₙ = n/2·(2a + (n−1)d)
sum (first & last known)Sₙ = n/2·(first + last)
number of termsn = (last − first)/d + 1

Example: for 3, 7, 11, … the 10th term is a + 9d = 3 + 9·4 = 39, and the sum of the first 10 terms is 10/2·(2·3 + 9·4) = 5·42 = 210. Notice (n−1), not n: the first term takes zero steps.

3. Means and inserting terms

The number sitting between two others in an AP is their arithmetic mean, (a+b)/2. If you put several means between two numbers, all of them together with the end numbers form one AP: to insert m means between A and B, there are m+2 terms, so d = (B − A)/(m+1). In an AP with an odd number of terms, the middle term is just the average of the first and last.

5????204 means
Four arithmetic means between 5 and 20: six terms in all, so the step is (20−5)/5 = 3.

The geometric mean of two numbers is √(a·b); in a GP each term is the geometric mean of its two neighbours. To insert m geometric means between A and B you get m+2 terms, so r is the (m+1)th root of B/A.

4. Geometric progressions

A GP is fixed by its first term a and its common ratio r (the number you multiply by). The nth term is aₙ = a·r^(n−1), and the sum of the first n terms is Sₙ = a(rⁿ − 1)/(r − 1). Watch the exponent: r^(n−1) for the term, rⁿ for the sum.

GP 2, 6, 18, 54 (ratio 3)term 12term 26term 318term 454
Each bar is three times the one before it — a GP grows by multiplication, so it climbs far faster than an AP.

Example: for 2, 6, 18, … the 5th term is 2·3⁴ = 2·81 = 162, and the sum of the first 5 terms is 2·(3⁵ − 1)/(3 − 1) = 2·242/2 = 242. When r is a fraction such as 1/2, the same formula is tidier as a(1 − rⁿ)/(1 − r).

5. Infinite geometric series

When |r| < 1 each term is smaller than the last, the tail shrinks away, and the whole infinite sum settles on a finite value: S∞ = a/(1 − r). This only works for a shrinking GP; if |r| ≥ 1 the sum grows without limit and the formula does not apply.

16842…×½
A shrinking GP: 16 + 8 + 4 + 2 + … never passes 32, since 16/(1 − 1/2) = 32.

Example: 16 + 8 + 4 + … has a = 16 and r = 1/2, so S∞ = 16/(1 − 1/2) = 16/(1/2) = 32. A classic use is a bouncing ball dropped from height h that rebounds to a fraction r of its height: the total distance is h + 2h·r/(1 − r), because it falls h once and then rises and falls each later height twice.

6. Standard sums worth memorising

A few sums turn up again and again and are quicker to recall than to derive.

SeriesSum
1 + 2 + 3 + … + nn(n+1)/2
1 + 3 + 5 + … (n odd numbers)n²
2 + 4 + 6 + … (n even numbers)n(n+1)
1² + 2² + … + n²n(n+1)(2n+1)/6

So 1 + 2 + … + 100 = 100·101/2 = 5050, and the first 1 odd numbers through to the first 20 even numbers all fall out of these forms. The sum of the first n odd numbers being exactly n² is a handy check: 1, 1+3=4, 1+3+5=9, 1+3+5+7=16.

7. Word problems

Most word problems are one of these progressions in disguise. A salary that rises by a fixed amount each year, seats that increase by a steady number per row, or a stack of logs with one fewer on each layer are all APs — identify a and d, then use the term or sum formula. A population that doubles, a machine that loses half its value each year, or interest that compounds are GPs — identify a and r.

Seats per row: +2 each (AP)Row 120Row 222Row 324Row 426
Seats 20, 22, 24, … for 15 rows: total = 15/2·(20 + 48) = 510, an AP sum.

The skill is translation: read the first value as a, the fixed change as d or r, the position asked as n, and whether the question wants a single term or a running total.

8. Shortcuts and traps

  • AP or GP? A constant *difference* is an AP; a constant *ratio* is a GP. Check two gaps before choosing a formula.
  • (n−1), not n. The nth term takes (n−1) steps from the first; using n is the most common slip.
  • Pair the ends for an AP sum: first + last, times how many pairs — Sₙ = n/2·(first + last).
  • Fraction ratio: write the GP sum as a(1 − rⁿ)/(1 − r) to avoid negative signs.
  • Infinite sum needs |r| < 1. Otherwise a/(1 − r) is meaningless.
  • Three terms in AP: call them x−k, x, x+k so the sum is 3x; three in GP: a/r, a, a·r so the product is a³.

9. Revision sheet

  • AP: aₙ = a + (n−1)d; Sₙ = n/2·(2a + (n−1)d) = n/2·(first + last).
  • GP: aₙ = a·r^(n−1); Sₙ = a(rⁿ − 1)/(r − 1); S∞ = a/(1 − r) when |r| < 1.
  • Arithmetic mean (a+b)/2; geometric mean √(ab); insert m means → m+2 terms.
  • Number of terms = (last − first)/d + 1.
  • 1+2+…+n = n(n+1)/2; first n odds = n²; first n evens = n(n+1).
  • Decide AP vs GP first, read off a and d or r, then substitute — never add a GP with the AP formula.

Practice

45 questions in 3 sets. Every answer comes with its explanation, and each question you get right earns XP.

  • Easy · 15
  • Medium · 15
  • Hard · 15
Start practising
PreviousSurds and IndicesNextAlgebra and Equations
Log inStart free