Pyth - 8 bytes
Checks all numbers till it finds one that is divisible by [1..N].
f!s%LTSQ
Maltysen
- 25.8k
- 4
- 56
- 127
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeChecks all numbers till it finds one that is divisible by [1..N].
f!s%LTSQ