Let $(p_{n})_{n≥1}$ be the sequence of prime numbers.
Then my question is: How one can proves that there is infinitely many indices $n$ such that $p_{n+1}$ is not of the form $p_{n}+2d$. Already we know a finite set of those indices. Here $d≥1$. The case when $d=1$ is known to be true from this question: Prove that there is infinitely many indices $n$ such that $p_{n+1}$ is not of the form $p_{n}+2$
For each $d$, note that every integer $k$ from $(2d+1)!+2$ to $(2d+1)!+2d+1$ is composite.
Let $p_n$ be the greatest prime such that $p_n\le (2d+1)!+1$. Then