Applications of character theory and the Mobius inversion by M. Quisquater