find square from sum of n numbers

by Francis 2012-12-07 18:25:03

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
940
like
0
dislike
0
mail
flag

You must LOGIN to add comments