Setup

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

n : = $\func$rand($\left\{\vphantom{ 2,3,5,7}\right.$2, 3, 5, 7$\left.\vphantom{ 2,3,5,7}\right\}$)

Condition: gcd(n, t)≠1