The Origin of Magics