I have been testing out Mathematica in Raspbian and typed this
Sum[1/n^2,{n,infinity}]
In English this should sum the reciprocals of the squares i.e. 1 + 1/4 + 1/9 + 1/16 + 1/25 + 1/36 etc The surprising result should be pi^2/6 However Mathematica returns
HarmonicNumber[infinity, 2]
Why does it not produce the expected result?