0
$\begingroup$

I'm trying to calculate

Sum[(1/n)^(n), {n, 1, Infinity}]

But mathematica outputs the input directly. What is the problem? when I put the same expression into wolframalpha, it gives me the answer but not mathematica.

$\endgroup$
1
  • 2
    $\begingroup$ Use NSum in Mathematica to get a numerical approximation. $\endgroup$ Nov 6, 2021 at 15:09

1 Answer 1

6
$\begingroup$

Mathematica Sum just returns input means MMA doesn't find an analytical answer

The sum seems to be convergent

SumConvergence[(1/n)^(n), n]
(* True *) 

Numerically result

NSum[(1/n)^(n), {n, 1, Infinity}]
(*1.29129*)     

That's the result from WolframAlpha!

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.