The Habitation Configuration - S6-E7
Corrected entry: Howard states in The Shiny Trinket Maneuver that he started doing magic to try to get girls to come to his room, but in this episode he tells her he started magic when his Dad left because it made his Mom happy and made her forget for a while.
Correction: He also may have gotten the idea for doing magic to get girls to his room, but actually started doing it to cheer up his mother.
LorgSkyegon