Let $f(x)$ be the greatest prime number at most $x$. Let $g(x)$ be the least prime number greater than $x$. Find $$\sum_{i=2}^{100}\frac{1}{f(i)g(i)}.$$
We could just computationally calculate the sum $$\sum_{i=2}^{100}\frac{1}{f(i)g(i)} = \dfrac{1}{2 \cdot 3}+\dfrac{1}{3 \cdot 5}+\dfrac{1}{3 \cdot 5}+\cdots+\dfrac{1}{97 \cdot 101},$$ but is there a way to avoid all the computations?