Setup

t : = $\func$rand(20, 50)

r : = $\func$rand(20, 50)

Condition: $\left(\vphantom{ t\neq r}\right.$tr$\left.\vphantom{ t\neq r}\right)$$\left(\vphantom{ \gcd (t,r)\neq 1}\right.$gcd(t, r)≠1$\left.\vphantom{ \gcd (t,r)\neq 1}\right)$