I am now studying the RSA algorithm.
The keypair generation equation of RSA is $d*e = 1 \pmod{(n-1)(q-1)}$ (where d, e is public key private key each other)
In this situation I got the private key$= 13, n=7, q=11$
so the keypair generation equation will be $13d \equiv 1 \pmod{60}$...
therefore, $13 = 60n + 1$
and I found the $n=8$ by using Euclidean method, $60 = 13 \cdot 4 + 8..$
so the $d$ will be $37$...
Is this the correct way? (using Euclidean method)...
Through continued fractions (it is an efficient way to encode Euclid's algorithm) we have:
$$ \frac{60}{13}=[4;1,1,1,1,2] \tag{1}$$ and: $$ [4;1,1,1,1]=\frac{23}{5} \tag{2}$$ and the difference of such numbers is $\pm\frac{1}{5\cdot 13}$ by a general property of continued fractions.
In our case: $$ \frac{60}{13}-\frac{23}{5} = \frac{1}{65}\tag{3} $$ from which we get: $$ 60\cdot 5 - 23\cdot 13 = 1 \tag{4}$$ as well as: $$ 13\cdot (-23)\equiv 1\pmod{60} \tag{5}$$ so the inverse of $13$ in $\mathbb{Z}/(60\mathbb{Z})^*$ is $-23=\color{red}{37}$ as you claimed.