Ashik_01's blog

By Ashik_01, history, 5 years ago, In English

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.

  • Vote: I like it
  • +5
  • Vote: I do not like it

| Write comment?
»
5 years ago, # |
  Vote: I like it +9 Vote: I do not like it

(n/2)*(2a+(n-1)d) % 1000000007

problem solved