Limits 1s, 512 MB

Given NNN, print a sequence of NNN **positive** integers A1,A2,…,ANA_1, A_2, \ldots, A_NA1,A2,…,AN that satisfy the following conditions:

This is a companion discussion topic for the original entry at https://toph.co/p/sum-equals-lcm