# Is there an operation in some domain that satisfies $x*x*x = 0$

Consider the set $S = \{0,1\}$ under XOR.
It is the case that $x \oplus x = 0 \ \ \forall x \in S$.
I was wondering if there is a similar operation in some other domain such that $x*x*x = 0$ for all objects in the domain. Can we possibly generalize this?

• Surely there must be some other restrictions you want to put on the operation; otherwise, the constant operation (with result $0$) qualifies. Jun 8, 2016 at 23:28
• What do you mean by "constant operation" ? And what restrictions do you suggest to make the problem interesting? Jun 8, 2016 at 23:39
• I mean, if $x * y = 0$ for all $x, y$, that trivially satisfies your condition, right? But I don't think that's what you were looking for. So I assume you must want some restrictions on the operation that preclude that trivial answer. Jun 8, 2016 at 23:44
• There is another function over $S$ that satisfy this. Let $0*0 = 1$ and $x*y = 0$ otherwise. Jun 9, 2016 at 0:01
• The collection of strictly lower triangular $3 \times 3$ matrices form an algebra which satisfy $x*x*x = 0$. In general, if $A$ is a strictly triangular $n\times n$ matrix, then $A^n = 0$. Jun 9, 2016 at 0:30

If $a$ is an element in the ring of polynomials $\mathbb{Z}_3[x]$, then $a+a+a=0$. This can be generalized to characteristic $p$, where $p$ is any prime.
• In $\mathbb{Z}_n[x]$ ($n \ge 2$), $a+a+\cdots+a$ ($n$ times) is equal to 0. If the coefficient ring $\mathbb{Z}_n$ need not be a field, then $n$ need not be a prime. Jun 9, 2016 at 5:14