What you want is the least common multiple of $1$ through $20$. This can be computed recursively as: $$\mathrm{lcm}(1,2,\ldots,20)=\mathrm{lcm}(\mathrm{lcm}(1,2),3,\ldots,20)=\cdots$$ or can also be computed by factoring all the numbers $1$ through $20$ to find the highest degree on each prime from $1$ to $20$ in any factor. The primes between $1$ and $20$ are $2,3,5,7,11,13,17,19$. The highest exponent on $2$ in any prime factorization of a number between $1$ and $20$ is $4$, as $2^4=16$ but $2^5=32>20$. For $3$ it is $2$, and for all higher primes it is $1$. Thus we have $$\mathrm{lcm}(1,2,\ldots,20)=2^4\cdot 3^2\cdot 5\cdot 7\cdot 11\cdot 13\cdot 17\cdot 19.$$