Find closest multiple of $3146$ to $5346$. We see that $1 \times 3146 = 3146$ is the nearest. Now subtract $3146$ from $5346$ to get reminder $2200$. Add $1$ to quotient.
Find closest multiple of $3146$ to $22004$. We see that $6 \times 3146 = 18876$ is the nearest. Now subtract $18876$ from $22004$ to get reminder $3128$. Add $6$ to quotient.
Find closest multiple of $3146$ to $31288$. We see that $9 \times 3146 = 28314$ is the nearest. Now subtract $28314$ from $31288$ to get reminder $2974$. Add $9$ to quotient.
Find closest multiple of $3146$ to $29748$. We see that $9 \times 3146 = 28314$ is the nearest. Now subtract $28314$ from $29748$ to get reminder $1434$. Add $9$ to quotient.
Find closest multiple of $3146$ to $14340$. We see that $4 \times 3146 = 12584$ is the nearest. Now subtract $12584$ from $14340$ to get reminder $1756$. Add $4$ to quotient.
Since $1756$ is less than $3146$, stop the division. The reminder is $1756$. The topmost line $00016994$ is the quotient. Remove all zeros at the start of the quotient to get the actual quotient $16994$.