yujhtheyujh Contest 1 - P1

Contributed by: yujhtheyujh

All Submissions
Best Submissions

Difficulty: 9

This problem is tagged with yty, yty1.

A function $f$ is defined such that $f(0) = 0$ and for all $i \gt 0$, $f(i) = i - (\text{smallest prime factor of i})$. Someone applied $f$ to a number $N$ exactly $K$ times such that the resulting number is exactly $2023$ less than $N$. Find the least $N$ when $K$ is minimized. Note that $f(1)=1$.

Please login or sign up to submit and check if your answer is correct.


flag Report Content
You should report content if:
  • It may be offensive.
  • There is something wrong with it (statement or difficulty value)
  • It isn't original.
Thanks for keeping the Math Contest Repository a clean and safe environment!