So $k$ lies in the open interval $\left(\frac{6n}7,\frac{7n}8\right)$ of length $\frac n{56}$. If $n>112$, the length exceeds $2$ and the interval contains at least two integers.
For $n=112$ the interval is $(96,98)$, which contains only $k=97$. The answer is $\boxed{112}$.