What is the mathematical formula for nth term of 7 + 77 + 777 + ...+ n?

Don't tell me "n 7s" or something like that. That's not a math formula.
10 answers 10