It&#39;s Not Magic, its Mathematics