sum n = 1 to infinity n^2 r^n