Name:      

Directions: Show all work.

  1. Let U = [n]2 = {(x,y): x,y {1,,n}}.

    1. [4 points] Use U to give a combinatorial proof that n2 = 2(n 2) + n.
    2. [3 points] Use part (a) and an identity from HW12 to give a formula for k=1nk2.
  2. [3 points] Let n be a positive integer. Let A be the set of all triples {x,y,z}( [n] 3) such that x < y < z and z y = y x. Let B be the set of all pairs {a,b}( [n] 2) such that a < b and b a is even. Give a bijection to show that |A| = |B|.