On syntactic groups

We prove that for any finite prefix code X with n elements, the non special subgroups in the syntactic monoid of X have degree at most n − 1. This implies in particular that the groups in the syntactic monoid of X are all cyclic when X is a prefix code with three elements.