結果 : arithmetic progression formula python