You are viewing a single comment's thread. Return to all comments →
if you solve the equation manually you do not need n^2... (n-1)^2 expanded goes to n^2 -2n +1. So you have Tn= n^2 - (n^2 -2n +1) Tn= 2n-1
You do not need modular arithmetic!
Seems like cookies are disabled on this browser, please enable them to open this website
Summing the N series
You are viewing a single comment's thread. Return to all comments →
if you solve the equation manually you do not need n^2... (n-1)^2 expanded goes to n^2 -2n +1. So you have Tn= n^2 - (n^2 -2n +1) Tn= 2n-1
You do not need modular arithmetic!