On this page
The harmonic series 1 + 1/2 + 1/3 + … diverges, but slowly, and it shadows ln n so closely that the gap settles on one number. That number is γ, and ten fractions and a calculator give you three decimals of it.
What is the Euler–Mascheroni constant γ?
Write Hₙ = 1 + 1/2 + … + 1/n for the n-th harmonic number. The NIST Digital Library of Mathematical Functions, equation 5.2.3, defines γ as the limit of Hₙ − ln n as n → ∞.
Its value is γ = 0.57721 56649 01532 86060…, as listed in DLMF 5.2.3 and in OEIS sequence A001620.
MathWorld records that Euler defined the constant in 1740, writing it as C, and calling it worthy of serious consideration; the second name honours Lorenzo Mascheroni, whose Adnotationes of 1790 and 1792 MathWorld lists among its references.
Why does Hₙ − ln n converge?
Draw y = 1/x for x ≥ 1. Over each interval from k to k + 1, stand a rectangle of width 1 and height 1/k, as in the diagram above.
The rectangles have total area 1 + 1/2 + … + 1/n = Hₙ.
The area under the curve from 1 to n + 1 is ln(n + 1).
Because 1/x falls, each rectangle pokes above the curve by a thin curved sliver (gold in the diagram). The slivers add up to Hₙ − ln(n + 1).
That total grows with n. Now slide every sliver left into the strip between x = 1 and x = 2. Sliver k sits between heights 1/(k + 1) and 1/k, so the slivers stack without overlapping inside one 1 × 1 square. Their total never passes 1.
The same idea, made exact, is the Euler–Maclaurin formula, which turns sums into integrals plus corrections.
How do you calculate γ to three decimals by hand?
The raw gap Hₙ − ln n creeps towards γ too slowly to be useful, so add a correction. MathWorld's harmonic number page gives the expansion Hₙ ≈ ln n + γ + 1/(2n) − 1/(12n²) + 1/(120n⁴) − …, and the bound 1/(2(n + 1)) < Hₙ − ln n − γ < 1/(2n).
Why 1/(2n)? The slivers beyond x = n are nearly triangles, so together they come to about half of 1/n. The gap between ln(n + 1) and ln n is about 1/n. Put the two together and Hₙ − ln n overshoots γ by about 1/(2n).
Here it is with n = 10:
Add the ten fractions: H₁₀ = 7381/2520 ≈ 2.928968.
Subtract ln 10 ≈ 2.302585. The raw gap is 0.626383, wrong in the first decimal.
Subtract the 1/(2n) correction, 1/20 = 0.05. You get 0.576383, already within 0.001 of γ.
Add the next term, 1/(12n²) = 1/1200 ≈ 0.000833. You get 0.577216.
Compare γ = 0.577216 to six decimals. Ten fractions and two corrections give you three decimals with room to spare.
The picture also cracks a favourite JEE limit. Write 1/(n + 1) + … + 1/(2n) as H₂ₙ − Hₙ = (H₂ₙ − ln 2n) − (Hₙ − ln n) + ln 2. Both brackets tend to γ and cancel, so the sum tends to ln 2.
Where does γ show up in maths?
In the gamma function, which extends factorials beyond whole numbers. DLMF equation 5.4.11 states Γ′(1) = −γ, so the slope of Γ at x = 1 is −0.5772. The same section gives ψ(n + 1) = Hₙ − γ, which ties the digamma function straight back to harmonic numbers.
In coupon collecting. Suppose a biscuit brand hides one of n cricket cards in each packet, every card equally likely. The expected number of packets to complete the set is n·Hₙ, according to MathWorld's coupon collector page. The coupon collector article on Wikipedia expands this as n ln n + γn + 1/2 plus a small error, and works the case n = 50: the exact answer is 224.9603 packets and the approximation gives 224.9619. The γn term alone is worth about 29 packets.
Is the Euler–Mascheroni constant irrational?
Nobody knows. MathWorld states that it is not known whether γ is irrational, let alone transcendental. It also records that if γ were a fraction a/b, the denominator b would have to exceed 10^10000 (Brent, 1977), a bound later raised by T. Papanikolaou to 10^242080.
So γ is almost certainly irrational, but no one has a proof. Compare √2, where a short proof by contradiction settles the question.
If the step from rectangles to logarithms still feels shaky, the Fermi Concept Library covers every concept in mathematics, each with its own lesson and its place in the map. To practise limits of sums like the ln 2 example, the Fermi Problem Library has worked problems with a step-by-step solver that explains the reasoning rather than printing an answer.



