Problem

Source: 2023 OLCOMA Costa Rica National Olympiad, Final Round, 3.6

Tags: number theory, Digits, Diophantine Equations



Given a positive integer $N$, define $u(N)$ as the number obtained by making the ones digit the left-most digit of $N$, that is, taking the last, right-most digit (the ones digit) and moving it leftwards through the digits of $N$ until it becomes the first (left-most) digit; for example, $u(2023) = 3202$. (1) Find a $6$-digit positive integer $N$ such that \[\frac{u(N)}{N} = \frac{23}{35}.\](2) Prove that there is no positive integer $N$ with less than $6$ digits such that \[\frac{u(N)}{N} = \frac{23}{35}.\]