Let

f:ZlongrightarrowZ

be defined as

f(x)={(x+3 if x is odd ),(x-5 if x is even ):}

(a) Show that

f

is a one-to-one correspondence. (b) Find a formula for

f^(-1)

.