Ok so a semigroup only has associativity.
Suppose i have a set $S = \{a,b,c,d\}$
Someone give me an example for the function $+:S \times S \rightarrow S$ (in table form) so that is only associative so that $(S, +)$ is just a semigroup and nothing more (meaning not commutative or anything else). Neutral element does not matter.
Two simple addition operators which would make the set $S$ a semigroup are $+_L:x+_Ly\mapsto x$ and $+_R:x+_R y\mapsto y$.
It's obvious that both of these operators are associative$$(a+_L b)+_Lc=a+_Lc=a$$$$a+_L(b+_Lc)=a+_Lb=a$$ $$(a+_Rb)+_Rc=b+_Rc=c$$$$a+_R(b+_Rc)=a+_Rc=c$$
But, neither of these operators have an identity, nor are commutative.