結果 : math recursive function