Let $a_1, a_2, \ldots, a_{2024}$ be positive integers such that $a_{i+1}+1$ is a multiple of $a_i$ for all $i = 1, 2, \ldots , 2024$, with indices taken modulo $2024$. Find the maximum possible value of $a_1 + a_2 + \ldots + a_{2024}$. (Proposed by Ivan Chan Guan Yu)