This might be a very stupid question, so apologies in advance)
Yesterday I was trying to fall asleep, and noticed a strange pattern with prime numbers:
Let $p_{1}$ be prime, and $p_{2} = p_{1} + 2$ also be prime, and $p_{i} = p_{i - 1} + 2 \cdot (i - 1) $. Then, all the next numbers until $p_{1}^2$ will also all be prime.
For example: $$3, 5, 9 = 3^{2}$$
$$5, 7, 11, 17, 25 = 5^2$$
$$ 11, 13, 17, 23, 31, 41, 53, 67, 83, 101, 121 = 11^2$$
But this does not always work, for example $$ 29, 31, 35 = 5 \cdot 7$$
Is there an obvious reason for this, and can it be generalized, or is it just a coincidence?