MathDB
n s.t. gcd(m,n)=1->n prime

Source: Yugoslav TST 1979 P2

May 30, 2021
number theory

Problem Statement

Find all integers nn with 1<n<19791<n<1979 having the following property: If mm is an integer coprime with nn and 1<m<n1<m<n, then mm is a prime number.