3
$\begingroup$

I have already asked a similar question about Ramanujan's summation in general but received no good answers. Now I am interested in this exact series:

$$\sum _{n\ge1}^\Re (24 n + 12 n^2)$$

$\endgroup$
6
  • $\begingroup$ what is $\mathfrak R$? $\endgroup$
    – glS
    Commented Aug 29, 2015 at 6:41
  • 1
    $\begingroup$ @glance, it's a notation indicating that the sum should be interpreted as a Ramanujan sum. $\endgroup$ Commented Aug 29, 2015 at 6:47
  • $\begingroup$ Anyway, did you already try using the formulae in your other post on $x^n$? $\endgroup$ Commented Aug 29, 2015 at 6:50
  • 1
    $\begingroup$ @Guesswhoitis. Sumthing like that ;-} $\endgroup$
    – ciao
    Commented Aug 29, 2015 at 6:50
  • $\begingroup$ @Guess who it does not resolve symbolically. $\endgroup$
    – Anixx
    Commented Aug 29, 2015 at 7:44

2 Answers 2

5
$\begingroup$

From solution provided by kirma to your previous question

Sum[24 n + 12 n^2, {n, 1, Infinity}, Regularization -> "Dirichlet"]

(* -2 *)

From solution provided by xzczd to your previous question

ramanujanSum[f_] := 
 Block[{x, n}, 
  FullSimplify[-Sum[
     BernoulliB[n, 1]/n SeriesCoefficient[
       f[x], {x, 0, n - 1}], {n, \[Infinity]}], n >= 1]]

ramanujanSum[24 # + 12 #^2 &]

(* -2 *)

From Wikipedia $$1+2+3+\cdots +=-\frac{1}{12}(R)$$

Extending to positive even power, this give:

$$1+2^{2k}+3^{3k}+\cdots +=0(R)$$

24*(-1/12) + 12*(0)

(* -2 *)
$\endgroup$
2
  • $\begingroup$ @Anixx - since it gives the same result as other approaches shown in comments and other answers, I assume that you have a problem in general with Ramanujan summations. $\endgroup$
    – Bob Hanlon
    Commented Jun 2, 2016 at 17:12
  • $\begingroup$ it does not in general. $\endgroup$
    – Anixx
    Commented Jun 2, 2016 at 17:16
3
$\begingroup$

Using the Zeta function you can calculate arbitrary expression like in your example.

g = 24 Zeta [-1 ] + 12 Zeta [-2]

(* -2 *)
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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