If is empty, take the zero generalized character; if is empty, take the trivial character. Otherwise let be the set of primes dividing the orders of elements of . The coprimality hypothesis makes every element of a -element. Thus every nonidentity element of is either a pi-element in or a complementary-prime element in . In particular these sets are unions of conjugacy classes, since conjugation preserves element order.
Put and . Their greatest common divisor is one, so the Chinese remainder theorem supplies an integer such that
Define the class function by , on and on . We verify Brauer's characterization of characters directly.
For an elementary subgroup , the cyclic factor can be split into its -part and -part. Attach to the part containing its prime. This expresses . Both factors cannot be nontrivial: choosing a nonidentity element in each would give a commuting product of mixed prime order, whereas every element of has order involving only one of the two prime sets. Hence is wholly a -group or wholly a -group.
Let be the character of the regular representation of , with value at the identity and zero elsewhere. In the two cases respectively,
The coefficients are integers because divides or . Thus both are generalized characters. The trivial subgroup causes no difficulty since is an integer. By Brauer's characterization of characters, is a generalized character of .
Taking gives the required values.
This is a generalized character separating complementary prime elements; the freely chosen value at the identity is what makes all elementary restrictions integral.