If it reached 5$, he'd have made 25,000$
>>> total = 0
>>> for i in range(5, 500, 5):
... total += i
>>> total
24750