Question 4
License plates use seven distinct digits and cannot start with zero. Available molds are $0,1,2,3,5,7,9$; the mold for nine may be inverted to make six, so a plate cannot contain both six and nine. The smallest numbers are $1023567,1023576,1023579,\ldots$. Find the seven-thousandth smallest plate number.