Essentially solved by Nguyen and Vu [NgVu10], who proved that $\lvert A\rvert\ll N^{1/3}(\log N)^{O(1)}$.
See also [438].
This question was asked by Erdős to a young Terence Tao in 1985. We thank Tao for sharing this memory and a letter of Erdős describing the problem.
Is it true that \[f(n) = \left(\frac{1}{2}+o(1)\right)\frac{n}{\log n}?\]
The complementary bound \[f(n) \leq \left(\frac{1}{2}+o(1)\right)\frac{n}{\log n}\] was proved by Alon and Freiman [AlFr88], who chose $m$ as the least common multiple of $\{1,\ldots,s\}$ where $s$ is maximal such that $m\leq \frac{n^2}{20(\log n)^2}$.