Compute \(1^2 + 3^2 + 5^2 + \dots + 99^2\)
Use "Sum of consecutive squares" formula to sum them up:
n =99; a = 1/6 * (2*n + 1)*n*(n + 1) =328,350
The numbers aren't consecutive, they increase by 2, so: