Y by itslumi, Karangy, Adventure10, HWenslawski, megarnie, Mango247, Mango247, and 6 other users
Let
be a positive integer. Define a sequence by setting
and, for each
, letting
be the unique integer in the range
for which
is divisible by
. For instance, when
the obtained sequence is
. Prove that for any
the sequence
eventually becomes constant.










