OFFSET
1,1
REFERENCES
Steven R. Finch, Mathematical Constants, Cambridge University Press, 2003, Sections 1.10 Madelung's constant, p. 79.
LINKS
Eric Weisstein's World of Mathematics, Lattice Sum.
FORMULA
Pi_0 + Pi/6, where Pi_0 is A185576.
EXAMPLE
-2.313698703882320603588809874061155008356357135595965962...
MATHEMATICA
digits = 100; k0 = 10; dk = 10; Clear[s]; s[k_] := s[k] = 7*(Pi/6) - 19/2*Log[2] + 4*Sum[(3 + 3*(-1)^m + (-1)^(m + n))*Csch[Pi*Sqrt[m^2 + n^2]]/Sqrt[m^2 + n^2], {m, 1, k}, {n, 1, k}] // N[#, digits + 10] &; s[k0]; s[k = k0 + dk]; While[RealDigits[s[k], 10, digits + 5][[1]] != RealDigits[s[k - dk], 10, digits + 5][[1]], Print["s(", k, ") = ", s[k]]; k = k + dk]; Pi0 = s[k]; delta3 = Pi0 + Pi/6; RealDigits[delta3, 10, digits] // First
CROSSREFS
KEYWORD
AUTHOR
Jean-François Alcover, Sep 10 2014
STATUS
approved