blob: e7ad5e9a3d814d6fb14aeec5f6a14b9fc61b09c5 [file] [log] [blame]
For the series: 1 2 3 4 5 6 7 8 9 10 where N = 10
The sum = (N * N + N) / 2 = 55
The product = N! = 3628800