Problem

Source: Thailand TSTST 2024 P4

Tags: number theory, prime numbers



The sequence $(a_n)_{n\in\mathbb{N}}$ is defined by $a_1=3$ and $$a_n=a_1a_2\cdots a_{n-1}-1$$Show that there exist infinitely many prime number that divide at least one number in this sequences