primitive function

Primitive elements of the free algebra