I've come across an issue while using Wolfram MathematicaWolfram Mathematica that I don't quite understand.
Consider the following symbolic computation:
Clear[n, y, x];
Sum[1/(n + y)^x, {n, 0, Infinity}]
Mathematica returns: "HurwitzZeta[x, y]"
HurwitzZeta[x, y]
However, when I plug in specific values (x = 1/3, y = 1)(x = 1/3, y = 1)
to evaluate the sum:
x = 1/3; y = 1;
Sum[1/(n + y)^x, {n, 0, Infinity}]
I get an error message: "Sum::div: Sum does not converge."
"Sum::div: Sum does not converge."
What confuses me is when I compute HurwitzZeta[1/3, 1] // NHurwitzZeta[1/3, 1] // N
, it successfully returns a numerical value: -0.97336
.
So, why does the SumSum
function claim the series doesn't converge, but HurwitzZetaHurwitzZeta
, which should be equivalent according to Mathematica'sMathematica's own symbolic computation, computes a numerical value without issue? Can anyone shed some light on this discrepancy or at least on what I am missing?