Hello everybody,

Could you show me how to solve this kind of problem:

Let R be the relation on the set {1, 2, 3, 4, 5} containing the ordered pairs (1,1), (1,2), (1,3), (2,3), (2,4), (3, 1), (3,4), (3, 5), (4, 2), (4, 5), (5, 1), (5, 2), and (5,4). Find:

a. $\displaystyle R^2$.

b. $\displaystyle R^3$.

c. $\displaystyle R^4$.

d. $\displaystyle R^5$.

The number of pairs in $\displaystyle R^n$ must small or equals to R or can be any without conditions ? Because I tried to do but the number of pairs in $\displaystyle R^2$ are larger than R

Please help.

Thanks a lot