Let $p_i$ denote the $i$-th prime: $p_1 = 2, p_2 = 3, p_3 = 5, \ldots$ Then define the following function (assuming that $i$ is greater than or equal to 2):
$$F(p_i)=\min((p_{i+1}-p_i), (p_i-p_{i-1}))$$
Consider the following set $S$:
$$\{F(p_2),F(p_3),F(p_4),F(p_5),F(p_6),F(p_7),F(p_8),F(p_9),\ldots\} = \{1,2,2,2,2,2,2,4,\ldots\}$$
The question is: does $S$ have its maximum element? In other words, if one removes all duplicate numbers from $S$, will its size be finite? If yes (or no), how to prove this? And if yes, is it possible to estimate the value of such maximum element?