What is the least positive integer $n$ such that $n^2 - n$ is divisible by some but not all integer values of $k$ when $1\leq k \leq n$?

Let's think step by step and output the final answer within \boxed{}.
user