The high-transition temperatures of cuprate and pnictide superconductors hinder explanation in light of the Bardeen-Cooper-Schrieffer (BCS) models of superconductivity. One major reason for this hindrance can be resolved via another distribution of electrons. We have found an anyonic distribution when a site created by deleting a hole is occupied by an electron. The resonance between superconducting electrons under the conventional BCS scheme and independent charge density waves (CDWs) may drive high-transitiontemperature superconductors (HTSCs).