What is the product of the first 20 odd numbers?

    Exact products of sequence terms in capital pi notation: arithmetic, geometric or any formula in n, from index m to index n, with fractions kept exact and the running product after each term.

    The calculator below is set to the arithmetic sequence 1, 3, 5, 7, ... with the product running from term 1 to term 20, which is the double factorial of the last odd number. Press Calculate for the exact product with every digit (so the unit digit and the digit count are there too), the running product after each term and the closed form written out. Change the last index for a longer or shorter run.

    Parameters

    Enter data for calculations

    The boxes below follow this choice

    Form progress0 / 1 fields

    💡 Fill in all required fields to unlock the calculate button

    Capital pi notation, evaluated term by term

    The symbol ∏ asks you to multiply every term of a sequence from index m to index n. This product notation calculator does that for an arithmetic sequence, a geometric sequence or any formula in n, and keeps the answer exact: whole numbers to the last digit, fractions as fractions. Four results it gives, each checked against the calculator:

    11/20
    ∏ (1 − 1/n2) for n = 2 to 10
    26 digits
    in 1 × 2 × ... × 25, printed in full
    0.492703
    chance that 23 people all have different birthdays
    512
    terms 3 to 5 of 1, 2, 4, 8, ...: 4 × 8 × 16

    Three choices and two indexes

    1. Pick the kind of sequence. Arithmetic adds the same d each step (1, 3, 5, 7), geometric multiplies by the same r (3, 6, 12), and a formula covers everything else.
    2. Describe the terms. For arithmetic and geometric sequences type the first term a1 and d or r; fractions such as 1/2 are fine. For a formula write it in n, for example 1 - 1/n^2, 2n + 1 or (366 - n)/365.
    3. Set the range. The first index m and the last index n are whole numbers, up to 1000 terms. Arithmetic and geometric terms are counted from 1; a formula may start at 0 or below.
    4. Read the result: the product, the sign with the number of negative terms, the size in digits, a closed form for the two standard sequences, and a table with the running product after each term.

    How a product of terms behaves

    Capital pi is the multiplying twin of capital sigma. Where Σ from i = 1 to 5 of i gives 15, ∏ from i = 1 to 5 of i gives 120, which is 5!. That one example shows the two ways products differ from sums. They grow far faster, so 25 small whole numbers already make a 26-digit number, and a single zero anywhere in the range wipes the whole product out.

    The sign follows a simple count: an odd number of negative terms gives a negative product, an even number a positive one. The terms −5, −3, −1, 1, 3, 5 contain three negatives, so their product is −225. Fractions pull the other way: a product of numbers just below 1 shrinks slowly, and many products of the form 1 ± something telescope, meaning each numerator cancels the next denominator. That is why ∏ (1 + 1/n) from 1 to 99 comes out as exactly 100.

    For a geometric sequence there is always a closed form. Multiplying terms m to n of a1ri−1 gives a1k times r raised to the sum of the exponents, where k is the number of terms. For 3, 3/2, 3/4, ... the first six terms give 36 · (1/2)15 = 729/32768. An arithmetic sequence has no such tidy formula in general, but factoring d out of every term turns it into a rising run of numbers, which becomes a ratio of factorials whenever am/d is a whole number.

    Products with a closed form

    Product Closed form Value at n = 10
    ∏ i, i = 1 to nn!3,628,800
    ∏ 2i (even numbers)2n n!3,715,891,200
    ∏ (2i − 1) (odd numbers)(2n)! / (2n n!)654,729,075
    ∏ (1 + 1/i)n + 111
    ∏ (1 − 1/i2), i = 2 to n(n + 1) / (2n)11/20
    ∏ a1ri−1a1n rn(n−1)/2245 for a1 = 1, r = 2
    ∏ 4i2 / (4i2 − 1)tends to π/2 (Wallis)1.53385

    Facts that make products unlike sums

    The birthday product. The chance that n people share no birthday is ∏ (366 − i)/365 for i = 1 to n. It is 0.524305 for 22 people and drops to 0.492703 for 23, the first group size where a shared birthday is more likely than not.
    Telescoping hides in plain sight. ∏ (1 − 1/n2) from 2 to 100 looks like 99 messy fractions, yet it equals 101/200. Each factor splits into (n − 1)/n times (n + 1)/n, and almost everything cancels.
    Wallis creeps toward π/2. Ten factors of 4n2/(4n2 − 1) give 1.53385, a thousand give 1.5704, and π/2 is 1.5708. An infinite product can converge, but slowly.
    An empty product equals 1. When the upper index is below the lower one there is nothing to multiply, and by convention the result is 1, the same way 0! = 1. The calculator flags such a range rather than printing 1 silently, since a swapped m and n is usually a typo.
    Logarithms turn ∏ into Σ. log(∏ ai) = Σ log ai. The log10 tile uses this: 25! has log10 25.190646, so it has 26 digits.

    Who multiplies a sequence

    Students of discrete math and precalculus checking a ∏ exercise, a telescoping product or a proof by induction against an exact value.
    Probability learners computing "no two alike" chances, such as the birthday problem or drawing without replacement, which are products of shrinking fractions.
    Combinatorics work with double factorials and falling factorials: 1 × 3 × 5 × ... × 19 is an arithmetic product with d = 2.
    Programmers testing a loop that multiplies, who need the exact value to compare against rather than a rounded one that overflowed.

    Five products run through the calculator

    What you type Range Result
    Arithmetic, a1 = 1, d = 11 to 2515,511,210,043,330,985,984,000,000
    Arithmetic, a1 = −5, d = 21 to 6−225 (three negative terms)
    Geometric, a1 = 3, r = 1/21 to 6729/32768 ≈ 0.0222473
    Formula 1 + 1/n1 to 99100
    Formula (366 − n)/3651 to 230.492703

    Pi notation questions

    What can I type in the formula box?
    Numbers, the index n (i and k work too), + − * / and ^ for powers, brackets, an exclamation mark for a factorial (n!), sqrt() and abs(). A number next to n or a bracket multiplies it, so 2n + 1 and n(n + 1) both work, and −n^2 means −(n2). A square root that is not a perfect square switches the answer to a decimal.
    What happens if a term divides by zero?
    The calculator names the index where it happens. For 1/(n − 3) from 1 to 5 it stops at n = 3, since that term does not exist; start the range at 4 or change the formula.
    Is there a formula for the product of an arithmetic sequence?
    Not a simple one in general. Write each term as d(x + j) with x = am/d; the product is dk times x(x + 1)...(x + k − 1), a rising factorial that the Gamma function extends to any x. When x is a whole number it becomes a ratio of ordinary factorials, and the result box writes that ratio out.
    How is this different from multiplying a list of numbers?
    A list tool multiplies numbers you paste in. Here you describe the rule that generates the terms and the index range, so a thousand terms take one line, and the closed forms and the running product show how the answer is built.

    Related tools

    Series Convergence Calculator

    The adding counterpart: whether an infinite series converges, with exact sums of p-series - See calculator

    Laplace Transform Calculator

    Transforms of tn, whose numerator n! is the product of the first n whole numbers - See calculator

    Arithmetic Sequence Calculator

    The n-th term and the sum of the same sequences whose product is computed here - See calculator

    Geometric Sequence Calculator

    Terms, sums and the common ratio of a geometric progression - See calculator

    Factorial Calculator

    n!, the product of 1 to n, for numbers far beyond 25 - See calculator

    Sum & Product Calculator

    The sum and product of a pasted list of numbers - See calculator

    Combinations & Permutations Calculator

    Counting problems whose answers are products of falling runs of numbers - See calculator

    Calculator verified by the LiczGrupa.pl team

    Content, formulas and results have been reviewed for accuracy and relevance by our team of specialists.

    Natalia Skrzek

    Reviewed by: Natalia Skrzek