n: 3
P: (2, 5)
a(x) = 1 / x
b(x) = 1 / 2