Y by farhad.fritl, cubres, aqusha_mlp12
For a positive integer
, let
be all the positive integers smaller than
that are coprime to
. Find all
such that
for all
.





![\[gcd(N, c_i + c_{i + 1}) \neq 1\]](http://latex.artofproblemsolving.com/1/0/7/1075290d442e8c1f54237aad8ad07126f455f1f1.png)

Join our free webinar April 22 to learn about competitive programming!
Something appears to not have loaded correctly.