/ n\ \1 - a /*a ---------- / n\ \1 - b /*b
a*(1.0 - a^n)/(b*(1.0 - b^n))
/ n\ a*\-1 + a / ----------- / n\ b*\-1 + b /
n -a + a*a --------- n -b + b*b