The Mathematics of Becoming a Millionaire