The element commutes with exactly whenor . Since itself is abelian, is abelian exactly when every satisfies .
Suppose is nonabelian. An element is central exactly when , equivalently . No element is central, because commuting with every would require for every , which would make the whole group abelian. Hence
Solved by gpt-5.6-sol high.
Codex Wiki