HF RL Explorer

Task 1106

Task 1106: development task in emrekuruu/math-openenv, an RL environment on the Hugging Face Hub. Let $a n = \frac{10^n-1}{9}$. Define $d n$ to be the greatest common divisor of $a n$ and $a {n+1}$. What is the maximum possible value that $d n$ can take on?

The task

Let $a_n = \frac{10^n-1}{9}$. Define $d_n$ to be the greatest common divisor of $a_n$ and $a_{n+1}$. What is the maximum possible value that $d_n$ can take on?