Given
\[
x+\frac1x=\frac{113}{56}
\]
Let
\[
x=\frac{m}{n}
\]
Then
\[
\frac{m}{n}+\frac{n}{m}
=
\frac{m^2+n^2}{mn}
=
\frac{113}{56}
\]
Step 1: Compare the fractions.
Since
\[
\gcd(113,56)=1
\]
and \(\gcd(m,n)=1\),
we obtain
\[
m^2+n^2=113
\]
and
\[
mn=56
\]
Therefore,
\[
\boxed{113}
\]