Repetitive Transcranial Magnetic Stimulation (rTMS) is administered at a pulse rate that is equal to or a harmonic of a biological metric of a patient. The purpose is to provide frequency coupling among different organs (e.g., heart, brain, breathing, and gastrointestinal movement) through rhythmic entrainment. The specific harmonic chosen is the one closest to a desired EEG frequency. The desired EEG frequency is chosen based on the cognitive element or symptom that is targeted.