In Google sheets How to get a list of all 
Explanation
We are repeating each number in the sequence {1;2;...n} 1,2,...n times and joining with comma , and join all with comma ,.
In other words:
For each number in {1;2;...n} 
and if you are brave enough, change 1000 to 10000 or 50000 :)
