Let $S$ be the set of the first $n$ positive integers. Suppose we have a binary operation @ that takes $a, b \in S$ to some $a @ b \in S$.
Given that:
- 1 @ x = x @ 1 = x
- x @ (y @ z) = (x @ y) @ (x @ z)
Prove or disprove: @ is associative
I can't find a way to prove this but I also cannot come up with a counterexample. Can anyone help?