c/d ((d+1)^n - 1) = 10^(3-2n) 101^n - 1000 where c = 10, d = 0.01