Canfield-Erdös-Pomerance theorem