Problem 49
Medium Convergence Tests

Using Stirling's formula n! = sqrt(2 pi n) n^ne^(-n+

Using Stirling's formula $n! = \sqrt{2\pi n}\,n^ne^{-n+\frac{\theta_n}{12n}}$ ($0<\theta_n<1$), determine the convergence of: $$ \sum_{n=1}^{\infty} \frac{n^n}{n!}. $$

Explanation of Method

Substituting Stirling's formula directly into $n^n/n!$ makes the $n^n$ factors cancel, leaving $\frac{e^n}{\sqrt{2\pi n}}$ (times a correction factor tending to $1$). Since $e^n$ grows exponentially while $\sqrt{2\pi n}$ only grows polynomially, the general term diverges to $\infty$ rather than vanishing, so the Divergence Test settles the matter immediately — and the ratio test confirms it independently.

  1. Substitute Stirling's formula and simplify.
  2. Show the general term diverges to $\infty$, triggering the Divergence Test.
  3. Confirm independently using the ratio test.

Step 1 · Substitute Stirling's formula

$$ a_n = \frac{n^n}{n!} = \frac{n^n}{\sqrt{2\pi n}\,n^ne^{-n+\theta_n/(12n)}} = \frac{e^n}{\sqrt{2\pi n}}\cdot e^{-\theta_n/(12n)}. $$

Since $0<\theta_n<1$, the correction factor $e^{-\theta_n/(12n)}\to1$, so $a_n\sim\dfrac{e^n}{\sqrt{2\pi n}}$.

Step 2 · Apply the divergence test

The exponential $e^n$ dominates the polynomial-rate decay of $\frac1{\sqrt{2\pi n}}$, so $a_n\to\infty$. Since $\lim_{n\to\infty}a_n=\infty\ne0$, by the Divergence Test $\sum_{n=1}^{\infty}\frac{n^n}{n!}$ diverges.

Step 3 · Confirm via the ratio test

$$ \frac{a_{n+1}}{a_n} = \frac{(n+1)^{n+1}/(n+1)!}{n^n/n!} = \frac{(n+1)^{n+1}}{n^n(n+1)} = \left(\frac{n+1}n\right)^n = \left(1+\frac1n\right)^n \to e \approx2.718 > 1. $$

Since the ratio limit exceeds $1$, the ratio test independently confirms divergence.


Summary Table

TestResult
Divergence test$a_n\sim e^n/\sqrt{2\pi n}\to\infty$
Ratio test$a_{n+1}/a_n\to e>1$
ConclusionDiverges

Additional Notes

Result

The series diverges:

$$ \sum_{n=1}^{\infty} \frac{n^n}{n!} \quad \text{diverges, since } \frac{n^n}{n!} \sim \frac{e^n}{\sqrt{2\pi n}} \to \infty. $$