This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] Closed pipe: the $7^{th}$ overtone is the $15^{th}$ harmonic: $f_c=\frac{15v}{4L}$. Open pipe: the $7^{th}$ overtone is the $8^{th}$ harmonic: $f_o=\frac{8v}{2L}=\frac{16v}{4L}$. $\frac{f_c}{f_o}=\frac{15}{16}=\frac{a-1}a\Rightarrow a=16$. Answer: 16.