2016 APMO Problems/Problem 2
Problem
A positive integer is called fancy if it can be expressed in the formwhere
are non-negative integers that are not necessarily distinct. Find the smallest positive integer
such that no multiple of
is a fancy number.