Series Calculator

Type the general term, where the series starts and where it stops to find its sum.

A formula in n, such as 1/n^2, (-1)^n/n, n/2^n or n!/n^n. Type powers with ^ and factorials with !.

The first n, a whole number. Leave it as 1 unless the series starts later.

A whole number, or inf for an infinite series.

Try

Result

You entered∑n=1∞1n\sum_{n=1}^{\infty} \frac{1}{n}

Diverges\displaystyle \text{Diverges}
Show the work
  1. Divergence test

    Every convergent series has terms that approach 0, so check that first. Here the terms do approach 0, so this test is silent and we look for a test that can decide.

    Using lim⁡n→∞an≠0  ⇒  ∑an diverges\lim_{n\to\infty} a_n \neq 0 \;\Rightarrow\; \sum a_n \text{ diverges}

    lim⁡n→∞1n=0\lim_{n\to\infty} \frac{1}{n} = 0
  2. p-series test

    The term is a constant times 1/np1/n^{p} with p=1p = 1, so the p-series test applies directly.

    Using ∑1np converges  ⟺  p>1\sum \frac{1}{n^{p}} \text{ converges} \iff p > 1

  3. Result

    The series diverges (p-series, p = 1), so it has no finite sum.

    ∑n=1∞1n diverges\sum_{n=1}^{\infty} \frac{1}{n} \text{ diverges}

Worked examples