Considering a circle with radius $R > 0$ and center the origin, if a vertex of a $n$-sided regular polygon inscribed in it is $\left(R,\,0\right)$, the next one in an anticlockwise direction has coordinates $\left(R\,\cos\left(\frac{2\,\pi}{n}\right),\,R\,\sin\left(\frac{2\,\pi}{n}\right)\right)$.
The required distance is equal to the difference between the radius of the circle and the distance of the midpoint between the two vertices considered from the origin:
$$
D = R\left(1 - \cos\left(\frac{\pi}{n}\right)\right)
$$
for which, once a tolerance $\delta = \kappa\,R$ with $0 < \kappa \le \frac{1}{2}$ is fixed, we get:
$$
D \le \delta
\quad \quad \quad
\Leftrightarrow
\quad \quad \quad
n \ge \frac{\pi}{\arccos\left(1-\kappa\right)}
$$
i.e.
$$
n_{min} = \text{ceiling}\left(\frac{\pi}{\arccos\left(1-\kappa\right)}\right).
$$
On the other hand, this expression can be simplified with the first term of the Maclaurin series:
$$
n_{min} = \text{ceiling}\left(\frac{\pi}{\sqrt{2\,\kappa}}\right)
$$
which at most overestimates by one side compared to the exact one. That's all. ^_^