Discrete mathematics by zr Bhatti. chapter#2. sets, functions and sequences. Exercise 2.1.