Set First term a₁ and Common ratio r in the Parameters row and click Apply; every tab recomputes with the new rule. Learn more about the parameters
Pick a mode with the five tabs across the top of the card: List first N, List a – b, Test a number, Lookup by index or Solver; the ? beside each tab describes it. Learn more about the modes
In List first N, type how many terms to show in Show first and click Update; the cards give the count, the largest term and the sum, and the tiles list every term. Learn more about listing terms
In List a – b, type the From index and the To index and click List range; a red box explains a bad range. Learn more about ranges
In Test a number, type a number in Test number and click Check; a green box names the index, a red box says it is not a term. Learn more about the test
In Solver, pick Find term (aₙ), Sum Sₙ or Infinite sum S∞, fill every box but the one marked solve and click Solve; move the radio to change the unknown. Learn more about the solver
The panel on the right explains the current mode and walks through the arithmetic with your own numbers; it changes with every tab and click. Learn more about the panel
DemoTwo new parameter pairs, then the opening pair again
Step 0 of 3
The card opens with the Sequence drop-down set to Geometric sequence; the other entry switches the card to the Arithmetic sequence, which has its own page, Arithmetic sequence calculator. Under it the Parameters row holds the two numbers that fix the sequence, First term a₁ and Common ratio r, opening with a1=2 and r=3. Type new values and click Apply or press Enter; every tab recomputes at once with the rule an=a1⋅rn−1. With a1=1 and r=2 the first eight terms are the powers of two from 1 to 128 with the sum 255; with a1=3 and r=0.5 they halve from 3 to 0.0234375 and the sum is 5.9765625.
Both boxes take any decimal, negative values included; a blank or non-numeric box is refused with "Enter a number in every parameter box." and the tabs keep their last values. Which two numbers define the sequence is explained in what is a geometric sequence.
Listing the First N Terms
DemoThree counts in List first N
Step 0 of 3
The explorer opens on the List first N tab, one of five tabs across the top of the card; the small ? beside each tab shows what the mode does. Type how many terms you want in the Show first box and click Update or press Enter. Three cards answer at once: Showing gives the count, Largest the last term with its index, and Sum the total of the listed terms, SN=a1r−1rN−1. Under the cards every term is laid out as a tile with its index above its value.
With the opening parameters the box accepts 1 to 100: 8 gives a8=4,374 with the sum 6,560, 12 gives a12=354,294 with the sum 531,440, and the box is capped at 100 terms; a single term gives a1=2. Large values are printed with thousands separators. A count of 0, a decimal or an empty box is refused with "Enter a positive integer." There is no Reset button: type a new count and click Update again. The panel on the right, List first N, states the rule the tiles come from, and its walkthrough repeats the last term and the sum with your own N. The rule is explained in the n-th term formula and the sum in the finite sum formula.
Listing a Range of Indexes
DemoThe range tab, a new range, two bad ranges
Step 0 of 4
Click the List a – b tab to list the terms between two positions instead of starting from 1. Type the From index and the To index and click List range or press Enter. The cards give the Countb−a+1, the Smallest term aa and the Largest term ab, and the tiles below list every term in between with its index. The tab opens with 1 to 6, 6 terms from a1=2 to a6=486; indexes 4 to 9 give 6 terms from 54 to 13,122.
Both boxes must hold positive integers, the first no larger than the second, and the range may hold at most 100 terms; otherwise a red box explains: "Enter two positive integer indexes", "From-index must be less than or equal to to-index", or "Range too wide — cap is 100 terms". The panel on the right, List a – b, explains the mode, and its walkthrough names the smallest and largest term of your range. The rule each tile uses is explained in the n-th term formula.
Testing a Number
DemoThe test tab, a non-member, a member, a decimal
Step 0 of 4
Click the Test a number tab to ask whether a given number is a term of the sequence. Type it in the Test number box and click Check or press Enter. A green box with a tick answers yes and names the index, as for the opening value 162, which is a5; a red box with a cross answers no, as for 100, and the walkthrough on the right then shows the two nearest terms, a4=54 and a5=162. A large value is handled the same way: 39,366 is a10.
The box takes any number, decimals and negatives included, since the parameters may be decimals too; an empty box is refused with "Enter a number". The test is exact: the explorer multiplies a1 by r step by step and stops as soon as the running term reaches m or passes it. The panel on the right, Test a number, states this rule, and its walkthrough carries out the arithmetic for your number. The formula behind it is in the n-th term formula.
Looking Up a Term by Index
DemoThe lookup tab, two indexes, n = 0
Step 0 of 4
Click the Lookup by index tab to compute one term directly. Type the position in the Index n box and click Get term or press Enter. Two cards answer: Index repeats n and Value gives an with its index as a subscript. The tab opens with n=10, which gives a10=39,366; n=15 gives 9,565,938 and n=20 gives 2,324,522,934. The box takes positive integers only; 0 is refused with "Enter a positive integer index".
The panel on the right has two parts in every mode. How it works names the rule the mode uses, here an=a1⋅rn−1, and links to the section of this page that explains it; Walkthrough applies the rule to the numbers you typed, so for the lookup it shows the arithmetic with your n and the current parameters filled in. Both change as soon as you switch tabs or click a button. The rule and where it comes from are in the n-th term formula.
Using the Solver Tab
DemoThe solver tab: a term, an unknown moved, a sum
Step 0 of 4
Click the Solver tab, the fifth tab, to work the formulas backwards. Three buttons choose the relation: Find term (aₙ) uses an=a1⋅rn−1, Sum Sₙ uses Sn=a1r−1rn−1 and Infinite sum S∞ uses S∞=1−ra1 for ∣r∣<1. The first two have four boxes and the third has three; the one marked solve with a ? is the unknown and the others must be filled. The unknown opens as an, Sn or S∞; click the solve radio beside another box to make that the unknown. Click Solve or press Enter and the answer appears under the grid, while the walkthrough on the right shows the substitution.
With a1=2, r=3 and n=10 the term is a10=39,366; with n=5 the sum is S5=242; with a1=2 and r=0.5 the infinite sum is 4, while r=3 is refused with "Series diverges when |r| ≥ 1". Switching the relation clears the boxes, and clicking Solve with a box empty gives "Fill all fields except the one being solved for". Solving Sn for r is not supported, and solving for n needs r>0. The solver boxes are independent of the Parameters row. Every relation is explained in using the solver — three modes.
What is a Geometric Sequence?
A geometric sequence (also called a geometric progression, GP) is a sequence where each term is obtained by multiplying the previous term by a constant. The constant is called the common ratio, denoted r.
• The n-th term: an=a1rn−1. • Sum of first n terms: Sn=a1r−1rn−1 for r=1; Sn=na1 for r=1. • Infinite sum: S∞=1−ra1 when ∣r∣<1; diverges otherwise.
Parametric nature. Like arithmetic sequences, geometric sequences depend on two parameters: a1 and r. The explorer lets you set both and explore the resulting sequence and sums.
For deeper coverage see geometric sequence, geometric series, and exponential function.
Derivation. Starting from a1, multiply by r once to get a1r, twice to get a1r2. After n−1 multiplications, the n-th term is
an=a1rn−1
Inverting the formula. Given an, a1, and r, solve for n using logarithms:
n=lnrln(an/a1)+1
This works only when r>0, r=1, a1=0, and an/a1>0. Negative r requires complex logarithms; r=1 makes every term equal to a1 and n is undetermined.
Examples.
• Sequence 3,6,12,24,…: a1=3, r=2. The 10th term: a10=3⋅29=3⋅512=1536. • Sequence 1000,500,250,…: a1=1000, r=1/2. The 10th term: a10=1000⋅(1/2)9=1000/512≈1.95. • Membership test: is 162 in the sequence 2,6,18,54,… (with r=3)? Solve 162=2⋅3n−1⟹81=3n−1⟹n−1=4⟹n=5. Yes — 162=a5.
Two-parameter recovery. Given two terms am and an with m<n: rn−m=an/am, so r=(an/am)1/(n−m). Then a1=am/rm−1.
Sign of r. Negative r produces alternating-sign sequences: a1=1,r=−2 gives 1,−2,4,−8,16,−32,…. The closed form still applies; signs alternate based on parity of n−1.
The Finite Sum Formula
Finite geometric sum. The sum of the first n terms of a geometric sequence is
Solving for n. Given Sn, a1, and r, the formula is invertible:
rn=a1Sn(r−1)+1⟹n=lnrln(a1Sn(r−1)+1)
This requires r>0,r=1, and the argument of the logarithm to be positive.
Solving for r. Given Sn, a1, and n, the equation Sn=a1(rn−1)/(r−1) is transcendental in r — no closed-form solution in general. The solver flags this as unsupported.
The Infinite Sum and Convergence
Infinite geometric series. What happens as n→∞?
S∞=a1+a1r+a1r2+⋯=n→∞lima1r−1rn−1
Convergence condition. The series converges if and only if ∣r∣<1. When it converges:
S∞=1−ra1
Why ∣r∣<1. As n→∞, rn→0 when ∣r∣<1, giving the formula. When ∣r∣≥1, rn does not converge (it grows, oscillates, or stays bounded but doesn't approach zero), and the series diverges.
Classic examples.
• Zeno's paradox.1+1/2+1/4+1/8+⋯=1−1/21=2. The pieces sum to a finite total despite there being infinitely many. • Repeating decimals.0.3=0.333…=1−0.10.3=31. Every repeating decimal is a geometric series. • Convergent but slowly.a1=1,r=0.99: S∞=100. The sequence approaches zero so slowly that it takes thousands of terms to get close.
Diverging cases.
• r=1: Sn=na1→∞ (unless a1=0). • r=−1: Sn oscillates between 0 and a1, never converging. • ∣r∣>1: ∣Sn∣ grows without bound.
The geometric series test. The convergence behavior of ∑rn is used as a benchmark for testing other series: comparison test, ratio test, root test all reference geometric series.
Power series. The geometric series is the simplest power series. ∑rn=1/(1−r) for ∣r∣<1 extends to functions: 1/(1−x)=1+x+x2+x3+⋯ for ∣x∣<1. The cornerstone of formal power series and generating functions.
Using the Solver — Three Modes
The geometric-sequence explorer includes a solver mode with three sub-modes:
• Find term (an) — uses an=a1rn−1. Fill any three of {a1,r,n,an} and the solver computes the fourth. • Sum Sn — uses Sn=a1(rn−1)/(r−1) for r=1. Fill any three of {a1,r,n,Sn} and the solver computes the fourth (except solving for r, which is transcendental and not supported). • Infinite sum S∞ — uses S∞=a1/(1−r) for ∣r∣<1. Fill any two of {a1,r,S∞} and the solver computes the third, flagging cases where ∣r∣≥1 as divergent.
Solving for an. Direct: an=a1rn−1.
Solving for a1. Rearrange: a1=an/rn−1 (term sub-mode), a1=Sn(r−1)/(rn−1) (sum sub-mode), or a1=S∞(1−r) (infinite sum).
Solving for r.(n−1)-th root: r=(an/a1)1/(n−1) (term sub-mode). For infinite sum: r=1−a1/S∞ (with a convergence check). For finite sum: transcendental — not supported.
Solving for n. Logarithm: n=ln(an/a1)/lnr+1 (term sub-mode); n=ln(Sn(r−1)/a1+1)/lnr (sum sub-mode). Both require r>0, r=1.
Edge cases the solver handles.
• r=1: term-sub-mode has every term equal; sum sub-mode reduces to Sn=na1. • r≤0 in solve-for-n: real logarithm doesn't exist, the solver flags this. • ∣r∣≥1 in infinite sum: divergence flagged. • a1=0: most equations become degenerate; flagged.
Practical use. Solve word problems: "An investment of \1000growsby52000?" → solve for n given a1=1000, r=1.05, an=2000.
Common Applications
Geometric sequences model exponential growth and decay across science, finance, and computing.
• Compound interest. \1000at51000, 1050, 1102.50, \ldotswithr = 1.05$. • Population growth. Bacterial population doubles every hour: r=2. After n hours, population is a1⋅2n−1 relative to the starting count. • Radioactive decay. Mass remaining after each half-life follows r=1/2. After n half-lives, a1/2n mass remains. • Mortgage payments. Outstanding balance after each payment follows a geometric-related sequence (with adjustments for the principal payment). The total payment formula is the geometric sum. • Algorithm analysis. Binary search splits the search space by half each step — a geometric sequence with r=1/2. Total steps: log2n. • Fractals and self-similarity. The Koch snowflake's perimeter at each iteration multiplies by 4/3: a geometric sequence with r=4/3 that grows without bound. • Repeating decimals as fractions.0.abc=abc/999, derived from the geometric-series formula. • Pyramid schemes. Each level multiplies participants by some ratio r. Total participants grow exponentially until the scheme exceeds the population. • Music tuning. Equal-temperament tuning divides the octave into 12 equal ratios, each 122≈1.0595. Frequencies follow a geometric sequence. • Light absorption. Light passing through a medium of uniform absorption loses a fixed fraction per unit length — Beer's law, an exponential decay (geometric in the discrete approximation).
• Off-by-one in the n-th term formula.an=a1rn−1, nota1rn. The 1st term is a1 (zero multiplications), the 2nd is a1r (one multiplication).
• Wrong sum formula.Sn=a1(rn−1)/(r−1) or equivalently a1(1−rn)/(1−r). Both are correct; common errors include using n as an exponent on r−1 or forgetting to divide by r−1.
• Treating r=1 with the general formula. When r=1, the formula has 0/0 — undefined. The correct value is Sn=na1. Always check r=1 as a special case.
• Forgetting the convergence condition for S∞. The infinite sum exists only when ∣r∣<1. Applying a1/(1−r) when ∣r∣≥1 gives a meaningless number. The classic error: writing 1+2+4+8+⋯=1/(1−2)=−1. The series diverges; the formula doesn't apply.
• Confusing arithmetic and geometric. Arithmetic adds; geometric multiplies. "Increases by 10% per year" is geometric (r=1.1); "increases by \10peryear"isarithmetic(d = 10$).
• Negative r and parity. With r<0, terms alternate in sign. a1=1,r=−2 gives 1,−2,4,−8,16. The sum formula still works but the result oscillates as n grows.
• Logarithm restrictions in solve-for-n.n=ln(an/a1)/lnr+1 requires positive arguments. Negative or zero r, or an and a1 with opposite signs, makes the formula fail. The solver flags these.
• Floating-point errors with non-integer ratios.r=1/3 is exact in mathematics but approximate in floating-point. Computing a100 with r=1/3 accumulates rounding error. Use symbolic computation or rational arithmetic for exact results.
• Conflating geometric series with arithmetic series for ratio. "Common ratio" is for geometric; "common difference" is for arithmetic. The terms are not interchangeable.
Arithmetic Sequence — adds a constant: an=a1+(n−1)d. Geometric's linear counterpart.
Geometric Series — the sum of a geometric sequence. Both finite and infinite versions are central.
Exponential Function — the continuous analog. f(x)=a1rx. Geometric sequences are exponentials sampled at integer points.
Power Series — the generalization to varying coefficients: ∑cnxn. The geometric series ∑rn=1/(1−r) is the simplest non-trivial power series.
Convergence — the criterion for infinite-series sums. ∣r∣<1 for geometric is the prototype.
Ratio Test — convergence test for series, comparing consecutive terms' ratio to a geometric series benchmark.
Compound Interest — the canonical finance application. Future value follows a geometric sequence with r=1+i where i is the per-period rate.
Exponential Growth and Decay — the natural-science applications. Bacterial growth, radioactive decay, drug elimination — all modeled as geometric sequences (discrete) or exponentials (continuous).
Logarithm — the inverse of exponential. Solving for n in a geometric sequence uses logarithms.
Common Ratio — the parameter r. Determines whether the sequence grows, decays, oscillates, or stays constant.
Geometric Mean — the average. For a geometric sequence, the geometric mean of any two terms equals the term between them: an=an−1⋅an+1 for any n≥2.
Repeating Decimal — every repeating decimal is a geometric series, converting to a rational number via the infinite-sum formula.
Geometric Progression — alternate name for geometric sequence. Used interchangeably.
Linear Recurrence (homogeneous) — the general class. Geometric sequences are first-order linear recurrences an=r⋅an−1.
Half-Life — the time for a quantity to halve. A geometric sequence with r=1/2 measured at half-life intervals.
Doubling Time — the time for a quantity to double. A geometric sequence with r=2 at doubling-time intervals.
Beer's Law — light absorption following exponential (geometric in discrete steps) decay through a medium.