Free Online Utility • MATH Studio • Exact BigInt Engine

Generate Arithmetic Progression

Generate exact Arithmetic Progressions a(n) = a₁ + (n − 1)d with custom first term, positive/negative/decimal common difference, closed-form sum Sₙ, nth term proof, and CSV/JSON export.

Formula & Quick Reference Live Engine
n-th Term:  a(n) = a₁ + (n - 1) × d
Series Sum: S(n) = (n / 2) × (a₁ + a(n)) = (n / 2) × (2a₁ + (n - 1)d)
Mean:       μ = (a₁ + a(n)) / 2
Natural 1..1001, 1, 100
Odd Numbers1, 2, 20
Descending100, -7, 15
Linear Recurrence • a(n) = a₁ + (n − 1)d
Arithmetic Progression

        
Instant client-side computation • Exact sequence math OEIS Verified

Session Calculation Log

No entries recorded in this session yet.

Complete Technical Guide to Generate Arithmetic Progression

An Arithmetic Progression (AP) is a linear sequence where consecutive terms differ by a constant common difference d: a₁, a₁ + d, a₁ + 2d, ..., a₁ + (n−1)d. Using Gauss's closed-form summation formula Sₙ = (n/2)·(a₁ + aₙ), both the full sequence and its exact series sum compute instantaneously.

Enter any integer, negative, or decimal starting value and common difference to generate up to 2,000 terms with exact Last Term, Series Sum, and Arithmetic Mean.

Arithmetic Progression & Gauss Sum Formulas

n-th Term:  a(n) = a₁ + (n - 1) × d
Series Sum: S(n) = (n / 2) × (a₁ + a(n)) = (n / 2) × (2a₁ + (n - 1)d)
Mean:       μ = (a₁ + a(n)) / 2

Integer inputs automatically use exact BigInt arithmetic while decimal inputs strip floating-point trailing noise cleanly.

How to Use Generate Arithmetic Progression

  1. 1Enter First Term (a₁), Common Difference (d), and Number of Terms (n).
  2. 2Inspect Last Term, Series Sum, and Arithmetic Mean.
  3. 3Copy or export JSON/TXT.

Reference Examples & Worked Benchmarks

Examplea₁, d, nLast TermSum Sₙ
Natural 1..1001, 1, 1001005,050
Odd Numbers1, 2, 2039400 (20²)
Descending100, -7, 152765

Practical Applications & Engineering Workflows

Algebra & Homework Verification

Double-check n-th term and Gauss series sum calculations instantly.

Data Grids & Linear Spacing

Generate evenly spaced numeric arrays for charts, loops, and test fixtures.

Accuracy, Edge Cases & Best Practices

  • Supports positive, negative, zero, and decimal common differences.

All calculations execute locally inside your browser using JavaScript with zero server round-trips, guaranteeing instant responsiveness and complete data privacy.

Frequently Asked Questions

What is the sum of the first n odd numbers (a₁=1, d=2)?
Always exactly n²! For example, the first 20 odd numbers (1 through 39) sum to 20² = 400.
Can the common difference d be negative or decimal?
Yes—negative d produces a descending arithmetic progression, and decimals like 0.25 or 0.1 are supported seamlessly.