The electrostatic force between two charges in a medium with dielectric constant K is expressed as:
\[
F_{medium} = \frac{1}{4\pi\epsilon_0 K} \frac{|q_1 q_2|}{d^2}
\]
Here, \( \epsilon_0 \) represents the permittivity of free space.
The electrostatic force between the identical charges in air (or vacuum, where K=1) at a distance \( d' \) is given by:
\[
F_{air} = \frac{1}{4\pi\epsilon_0} \frac{|q_1 q_2|}{d'^2}
\]
For these forces to be equivalent, setting \( F_{medium} = F_{air} \) yields:
\[
\frac{1}{4\pi\epsilon_0 K} \frac{|q_1 q_2|}{d^2} = \frac{1}{4\pi\epsilon_0} \frac{|q_1 q_2|}{d'^2}
\]
Simplifying this equation leads to:
\[
\frac{1}{K d^2} = \frac{1}{d'^2}
\]
Rearranging for \( d'^2 \) gives:
\[
d'^2 = K d^2
\]
Taking the square root of both sides, we find the equivalent distance in air:
\[
d' = \sqrt{K d^2} = d\sqrt{K}
\]
Therefore, the equivalent distance in air is \( d\sqrt{K} \).