In mathematics, the nth-term test for divergence[1] is a simple test for the divergence of an infinite series:If
diverges.Many authors do not name this test or give it a shorter name.
[2] When testing if a series converges or diverges, this test is often checked first due to its ease of use.
In the case of p-adic analysis the term test is a necessary and sufficient condition for convergence due to the non-Archimedean ultrametric triangle inequality.
Unlike stronger convergence tests, the term test cannot prove by itself that a series converges.
In particular, the converse to the test is not true; instead all one can say is:If
the test is inconclusive.The harmonic series is a classic example of a divergent series whose terms approach zero in the limit as
[3] The more general class of p-series, exemplifies the possible results of the test:
The test is typically proven in contrapositive form:If
If sn are the partial sums of the series, then the assumption that the series converges means that for some number L. Then[4] Assuming that the series converges implies that it passes Cauchy's convergence test: for every
there is a number N such that holds for all n > N and p ≥ 1.
Setting p = 1 recovers the claim[5] The simplest version of the term test applies to infinite series of real numbers.
The above two proofs, by invoking the Cauchy criterion or the linearity of the limit, also work in any other normed vector space[6] or any additively written abelian group.