Radius of nth orbit in hydrogen like atoms is
$r_{n}=\frac{a_{0}n^{2}}{Z}$
where a0 is the Bohr’s radius
For hydrogen atom, Z = 1
∴ r1 = a0 (∵ n = 1 for ground state)
For Be3+, Z = 4
$\therefore \quad r_{n}=\frac{a_{0}n^{2}}{4}$
According to given problem
$\quad$r1 = rn
$a_{0}=\frac{n^{2}a_{0}}{4}$
n = 2