One quick question about relations.

I know how is defined a relation,

but how is defined R^2 and R^n?

If we have a relation R = {(1,2),(2,3),(3,4)}.

How do we get a R^2 and, R^n. If n is let say 504, surely we won't go calculating R * R * R... 504 times.