# Divides all Numbers to a Million

**Computer Science**Level 4

Let \(n\) be the smallest positive integer divisible by all positive integers up to \(1,000,000 = 10^6\), inclusive. Let \(m\) be \(n\) divided by the largest power of \(10\) it can evenly be divided by. What are the last 3 digits of \(m\)?

**Details and Assumptions**

The smallest positive integer divisible by all positive integers up to \(30\) is \(2329089562800\). In this case, you would divide this number by the largest power of \(10\) it can evenly be divided by (\(100\)), and give the last three digits of the result, or \(628\).