Consider this code snippet.
>>> n, m = 10011617, 100000000000006340 >>> s = lambda n: n * (n + 1) / 2 >>> s(n) 50116242483153.0 >>