0
Round Me, Help Me
code-golfnumber
Given an input n, your program or function must output the smallest positive integer k such that n rounded to the nearest multiple of k is greater than n.
Example.
Given an input 18, the return value should be 4:
The nearest multiple of 1 is 18, which is ...