f(n) = 8n^2 - (109/2)n + 201/2. f(9) = 420.
__________________
Pfft that's the formula you found / I just guessed