olymmath

SIMON-MARAIS 2021 A2

  • Paper A

Define the sequence of integers a1,a2,a3,…a_1, a_2, a_3, \ldots by a1=1a_1 = 1 , and an+1=(n+1−gcd⁡(an,n))×ana_{n+1} = \left(n+1-\gcd(a_n,n) \right) \times a_n for all integers n≥1n \ge 1 . Prove that an+1an=n\frac{a_{n+1}}{a_n}=n if and only if nn is prime or n=1n=1 . Here gcd⁡(s,t)\gcd(s,t) denotes the greatest common divisor of ss and tt .

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 simon-marais/2021/a2 · Tag QXQ03AJVS2 · Edit this page on GitHub · Keys: j next, k previous