[math-fun] generalization of quaternion identity to (2^n)ons