Problem

Source: 2023 Thailand MO Day 2 P9

Tags: number theory, factorization



Prove that there exists an infinite sequence of positive integers $a_1,a_2,a_3,\dots$ such that for any positive integer $k$, $a_k^2+a_k+2023$ has at least $k$ distinct positive divisors.