How to use this calculator
- Pick the tab that fits your task: nth Term Arithmetic, Sum of n Arithmetic Terms, nth Term Geometric, Geometric Sum, Infinite Geometric Series, or Pattern Detection.
- For arithmetic, enter the first term a, common difference d (the gap between terms), and term index n; the tool returns U_n and a step-by-step solution.
- For an arithmetic sum, enter a, d, and the number of terms n; the output is S_n shown both ways (S_n = n/2*(2a+(n-1)d) and S_n = n/2*(a+U_n)).
- For geometric, enter a, common ratio r, and n; r must be nonzero; the output is U_n = a*r^(n-1).
- For an infinite geometric series, enter a and r; the series converges only when |r| < 1, otherwise it diverges and has no finite sum.
- For pattern detection, enter the first 4-6 terms (comma-separated); the tool checks whether the sequence is arithmetic (constant difference) or geometric (constant ratio) and projects the next terms.