ok.. great question find the sum of the series , and the squares of the elements in the series
Let Sum = S Sum of squares = P now find the sum of the of all numbers from 1... (n+2) and their squares, Let these be A= (n+2)(n+3)/2 (for n = (n)(n+1)/2) B= (n+2)(n+3)(2n+5)/6 (for n = (n)(n+1)(2n+1)/6) therefore, v can deduce that X + Y = A - S X^2 + Y^2 = B - P you got 2 equations, solve them --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/algogeeks -~----------~----~----~----~------~----~------~--~---