Help
How to use the modulo operation on (n/2)*(2a+(n-1)d).I have to give the summation of the series modulo 10^9+7.Please help me.
Atcoder ABC #358 Solution Discussion