Looking for the lowest number divisible by 1 to A. What would the math equation be for finding the lowest number divisible by 1 to A? I know factorial can make numbers divisible by 1 to A but that dosn't give me the lowest number.
Example of what I'm talking about:
the lowest number divisible by 1,2,3,4,5,6,7,8 = 840
Example of factorial (What I'm not talking about):
8! = 40,320
Note:
A is anything that's more then 1 and is whole.

Look at the LCM. Note $lcm\{a,b\} = \frac{ab}{gcd(a, b)}$. 
If you have a prime $p$ and a power of $p$, $p^{n}$, you will simply discard $p$ and keep $p^{n}$ instead. As $p^{n}|x \implies p|x$, but the converse is not true.
Note as well you can ignore $1$ in your $gcd$ calculations.
