IMO 1978 LL CZS11
Find all natural numbers n < 1978 with the following property:
IMO 1978 LL CZS11
Origin: CZS
Problem
Find all natural numbers n < 1978 with the following property: If m is a natural number, 1 < m < n, and (m, n) = 1 (i.e., m and n are relatively prime), then m is a prime number.