✅ mid * (mid + 1) / 2
문제 : https://www.codetree.ai/ko/trails/complete/curated-cards/intro-sum-of-n-natural-numbers/description