Problem

Source: Brazil EGMO TST 2023 #4

Tags: number theory



The sequence of positive integers $a_1,a_2,a_3,\dots$ is brazilian if $a_1=1$ and $a_n$ is the least integer greater than $a_{n-1}$ and $a_n$ is coprime with at least half elements of the set $\{a_1,a_2,\dots, a_{n-1}\}$. Is there any odd number which does not belong to the brazilian sequence?