Take this sum for example:
$$\sum_{n=2}^\infty\frac1{\log(n!)}$$
Wolfram says that this does not converge by the comparison test. However, when I use Mathematica's NSum
function, it returns a numerical value for the summation. Who should I trust?
NSum[1/Log[n!], {n, 2, \[Infinity]}]=6.12902
NSum[1/Log[n!], {n, 2, \[Infinity]}]
... $\endgroup$NSum
under the section Possible Issues: "NSum may not detect divergence for some infinite sums" and "Convergence verification is based on a ratio test that is inconclusive when equal to 1", both of which apply here. $\endgroup$n=23,166,000,000; sum=6.2010890765879; term_n=1.8878160302708E-12
. So clearly a bigger value than mathematica's6.12902
, but it's not surprising, because series converges very slowly and mathematica doesn't have a patience :-) $\endgroup$