Let two positive integers n and m be given. How many pairs of integers (x,y) can one find in the range 1..n such that (i) all x's are different, (ii) all y's are different, (iii) all x+y's are different, and (iv) x+y

Similar questions and discussions