Loading…

Harmonic Sequence Analyzer

Math Algebra • Sequences and Series

View all topics
8. Harmonic Sequence Analyzer
Compute harmonic (and generalized/alternating) partial sums, compare with ln(n)+γ, and visualize slow growth.

Drag to pan • wheel/pinch to zoom • Use “Auto fit” if the curve goes off-screen.

Ready
Partial sums graph
x-axis: index j • y-axis: partial sum Sⱼ
j: 0, S: 0 sx: 40, sy: 40 partial sums approx/limit
Choose inputs and click Calculate.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is the harmonic number H_n?

H_n is the partial sum of the harmonic series: H_n = sum_{j=1}^n (1/j). It grows without bound as n increases, but it grows very slowly.

How accurate is the approximation ln(n) + gamma for H_n?

ln(n) + gamma is a standard approximation for H_n, where gamma is the Euler-Mascheroni constant. The approximation improves as n gets larger, and the calculator can show the numeric difference for your chosen n.

Does the harmonic series converge or diverge?

The harmonic series sum_{j=1}^infinity (1/j) diverges, meaning its partial sums H_n increase without bound. The divergence is slow, which is why ln(n) comparisons are commonly used.

What are generalized harmonic numbers H_n^(k) and when do they converge?

Generalized harmonic numbers are H_n^(k) = sum_{j=1}^n (1/j^k). For k > 1 the corresponding infinite series converges, while for k = 1 it reduces to the (divergent) harmonic series.

What does the alternating harmonic series approach?

The alternating harmonic series uses terms ((-1)^(j+1)/j) and its partial sums approach a finite limit. This calculator helps you see that convergence by plotting the partial sums and showing the limiting behavior.