Co-Founder @Quanticare | #MAP14 @MAPUniMelb | Software | IIT Bombay ’14 | @sav_ant | www.sksavant.net

…a-1 + a-n) represent the sum of the first and last terms of the sequence, 1 + 100 in our story. And n represents the number of terms in the sequence, which we divide by 2 to obtain the number of pairs.…