13. A die has 6 faces, each marked with the numbers $1, 2, 3, 4, 5, 6$. After each roll of the die, the number on the top face is recorded. The rolling process ends as soon as any number appears three times. Xiao Ming rolled the die 12 times, and his rolling process ended. The sum of all recorded numbers is 47. What was the number recorded on his last roll? ( )
【Analysis】 $3+2 \times 4+1=12$ times, and because $1+2+3+4+5+6=21, 21 \times 2=42$, it indicates that the number appearing three times is 5 more than the number appearing once, which is $47-42=5$. Among these six numbers, it can only be $6-1=5$. Therefore, the number that appears three times, which is also the last number to appear, is 6.