The answer is 420.
Let us consider the positive integer m so that m3≤n<(m+1)3. As n=420 satisfies the conditions, we will consider the case when m≥7. Note that each of m, m−1, m−2 and m−3 divides n and hence lcm(m,m−1,m−2,m−3) divides n. Since gcd(n−1,n−2)=1, gcd(n,n−3) divides 3 and gcd(n(n−3),(n−1)(n−2)) divides 2, we have that
6m(m−1)(m−2)(m−3)
divides n. Therefore,
6m(m−1)(m−2)(m−3)<(m+1)3
and hence m≤12.
If m=11 or 12, then 11⋅7⋅5⋅9⋅8=27720∣n, but 133=2197<27720.
If m=9 or 10, then 7⋅5⋅9⋅8=2520∣n, but 113=1331<2520.
If m=8, then 7⋅5⋅3⋅8=840∣n, but 93=729<840.
If m=7, then 7⋅5⋅3⋅4=420∣n and n<83=512. Therefore n=420.