Mean values of multiplicative functions and applications to residue-class distribution | Synapse