olymmath

RU-SPB 2010 Problem 114

  • Grade 11

Natural number NN is given. Let pNp_N - biggest prime, that ≤N\leq N . On every move we replace NN by N−pNN-p_N . We repeat this until we get 00 or 11 . If we get 11 then NN is called as good, else is bad. For example, 9595 is good because we get 95→6→195 \to 6 \to 1 . Prove that among numbers from 11 to 10000001000000 there are between one quarter and half good numbers

Dataset text AI-MO AoPS. Quoted with source.

Solutions

No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

Add a solution

Similar problems

These problems have the most words in common with this statement.

Locator ru-spb/2010/p114 · Tag Y0PWE8KBDA · Edit this page on GitHub · Keys: j next, k previous