Can someone provide a proof for the following claim?
$$\pi=\dfrac{S_0S_2}{M_3M_5} \cdot\left(\displaystyle\prod_{p \equiv 1 \pmod{4} } \frac{p}{p-1}\right) \cdot \left(\displaystyle\prod_{p \equiv 3 \pmod{4} } \frac{p}{p+1}\right)$$
where $M_3=2^3-1$ ; $M_5=2^5-1$ : $p$ -exponent of Mersenne prime ; $S_2$ the third term of the Lucas sequence $S_i=S_{i-1}^2-2$ with $S_0=4$ , that is $S_2=194$ .
For the first $50$ odd exponents of Mersenne primes I get value: $3.141592655591489672\ldots$ while the real value of $\pi$ rounded to 18 decimal digits is $3.141592653589793238$ . You can find a list of exponents of Mersenne primes here.
Here is graph and absolute differences between value of $\pi$ and values of formula:
[0.45957, 0.21094, 0.20812, 0.036331, 0.23495, 0.066124, 0.034117, 0.017674, 0.053575, 0.023990, 0.00074136, 0.0052987, 0.00012293, 0.0023315, 0.0037559, 0.0023796, 0.0014035, 0.00066499, 0.0013750, 0.0010508, 0.00073488, 0.00045475, 0.00029719, 0.00015243, 1.7066 E-5, 5.3538 E-5, 1.7110 E-5, 1.1319 E-5, 1.2472 E-5, 2.0665 E-6, 6.2174 E-6, 2.5620 E-6, 5.0597 E-6, 2.8129 E-6, 1.7574 E-6, 7.1759 E-7, 2.6702 E-7, 3.3743 E-8, 1.8337 E-7, 3.1407 E-7, 4.3506 E-7, 3.3173 E-7, 2.3531 E-7, 3.1986 E-7, 2.4619 E-7, 1.7332 E-7, 1.1905 E-7, 7.6714 E-8, 3.6037 E-8, 2.0017 E-9]
EDIT
Let's introduce the following notation $L_n^{(1)}(P,Q)$ - Lucas number of the first kind and $L_n^{(2)}(P,Q)$ - Lucas number of the second kind. Note that $S_0=L_1^{(2)}(4,1)$ , $S_2=L_4^{(2)}(4,1)$ , $M_3=L_3^{(1)}(3,2)$ and $M_5=L_5^{(1)}(3,2)$ . So we can rewrite expression above as follows: $$\pi=\dfrac{L_1^{(2)}(4,1)L_4^{(2)}(4,1)}{L_3^{(1)}(3,2)L_5^{(1)}(3,2)} \cdot\left(\displaystyle\prod_{p \equiv 1 \pmod{4} \atop p \in \mathbb{M} } \frac{p}{p-1}\right) \cdot \left(\displaystyle\prod_{p \equiv 3 \pmod{4} \atop p \in \mathbb{M}} \frac{p}{p+1}\right)$$ where $\mathbb{M}=\{p | p \in \mathbb{P} \text{ and } 2^p-1 \in \mathbb{P} \}$