I am trying to determine whether the definition of * gives a binary operation on the set.
On $\mathbb{Z^+}$, define * by letting $a*b = a^b$
I think that the binary operation is not commutative because if $a,b \in \mathbb{Z^+}$, if $a = 1$ and $b = 2$, we see that $a^b \neq b^a$.
I am not sure how to determine whether the binary operation is associative because I am not sure how to set the binary operation up.
Would it look something like this? $(a^b)^c = (b^c)^a$ ?