Might want to put `(n+1)*n` in parens for clarity.