Problem

Source: Regional Olympiad - Federation of Bosnia and Herzegovina 2016

Tags: combinatorics, Combinatorial Number Theory, coprime, set



Find all elements $n \in A = \{2,3,...,2016\} \subset \mathbb{N}$ such that: every number $m \in A$ smaller than $n$, and coprime with $n$, must be a prime number