Amanda Bean's Amazing Dream: A Mathematical Story