Rename n to i for better math consistency