you re give integer n for integer 2 n assign positive integer a_i follow condition hold for pair integer ij j coprime a_i neq a_j the maximal value a_i minimize small possible a pair integer call coprime great common divisor 1