5. Determine the convergence or divergence of the series \( \sum_{n=1}^{\infty} \left(1+\frac{k}{n}\right)^n \), \( k \) is a constant . (10)