I'm working on a proof in number theory, and have encountered a proof. If I include the proof, I can show that as some numbers tends to infinity, they follow a certain rule. Unfortunately, this is not precise enough, so I have set up an inequality. This is the limit:
$$\lim \limits_{n \to \infty} g \cdot \left(1-(1-\prod_{i=1}^n (1-\frac{1}{p_i}))\right)$$
and know that it tends to $0$. In this case, $p_i$ are the prime numbers, and $g$ is any number in-between $p_{n}+1 $ and $p_{n+1} -1$. I would like to know at which n the expression is less than $1$. In other words/symbols:
$$\lim_{n \to \infty} g \cdot \left(1-(1-\prod_{i=1}^n (1-\frac{1}{p_i}))\right) < 1.$$ I've written a short bit of code in Python and had it reviewed on Code Review. Since I've tried numbers up to 100 million and did not reach a number less than $1$, I would like to know whether there is some mathematical of arriving at the result, or whether my limit is just wrong. Thanks!