I am reading a book and there are some exercise and methods shown in book. But they didn't describe how they work. Ok so if i have to sum of a series like
$1,2,3,4,5,... $
then according to that book we can take the middle number and multiply by total terms so , middle number $= 3$ and total terms $5$ so $5\times3=15$. they do same with finding the sum of a $3\times3$ square numbers. Now i am not getting how this method works? How middle number plays an important role here? What's the logic behind it?