Two possible numbers: Start with 5 and then use decreasing digits: 5861. Start with 6 and then use increasing digits: 6158.
5861 difference = 6000 − 5861 = 139. 6158 difference = 6158 − 6000 = 158. 5861 is closer to 6000 as it has the smallest difference.