Problems(1)
Let f(n) be the sum of the first n terms of the sequence 0,1,1,2,2,3,3,4,…, where the nth term is given by an={n/2(n−1)/2if n is even,if n is odd. Show that if x and y are positive integers and x>y then xy=f(x+y)−f(x−y). college contests