Ramanujan summation is a technique invented by the mathematician Srinivasa Ramanujan for assigning a value to divergent infinite series. Although the Ramanujan summation of a divergent series is not a sum in the traditional sense, it has properties which make it mathematically useful in the study of divergent infinite series, for which conventional summation is undefined.
Ramanujan summation essentially is a property of the partial sums, rather than a property of the entire sum, as that doesn't exist. If we take the Euler–Maclaurin summation formula together with the correction rule using Bernoulli numbers, we see that:
Ramanujan wrote it for the case p going to infinity:
where C is a constant specific to the series and its analytic continuation and the limits on the integral were not specified by Ramanujan, but presumably they were as given above. Comparing both formulae and assuming that R tends to 0 as x tends to infinity, we see that, in a general case, for functions f(x) with no divergence at x = 0:
where Ramanujan assumed . By taking we normally recover the usual summation for convergent series. For functions f(x) with no divergence at x = 1, we obtain: