Friday, 20 February 2015

Find Square of n numbers in 1 step

Find Square from Sum of n numbers


n2 = (Sum of 'n' numbers * 2) - n

Example 


If, n=5
52 = (15 * 2) - 5 = 30 - 5 = 25

Note: 
Sum of 'n' numbers = [n*(n+1)] / 2

No comments:

Post a Comment