38351 ÷ 9 = 4261 R2
We're going to perform division on 38351 with 9 as the divisor.

Step 1:
9 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of of the result. 
Result so far: 0
Subtract 0 from 3 to get 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 9

Step 2:
9 goes into 38 4 times with a remainder of 2.
Write down 4 as next digit of of the result. 
Result so far: 4
Subtract 36 from 38 to get 2.
Bring next digit (3) of the dividend behind the 2 and repeat the process: 23 / 9

Step 3:
9 goes into 23 2 times with a remainder of 5.
Write down 2 as next digit of of the result. 
Result so far: 42
Subtract 18 from 23 to get 5.
Bring next digit (5) of the dividend behind the 5 and repeat the process: 55 / 9

Step 4:
9 goes into 55 6 times with a remainder of 1.
Write down 6 as next digit of of the result. 
Result so far: 426
Subtract 54 from 55 to get 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 9

Step 5:
9 goes into 11 1 times with a remainder of 2.
Write down 1 as next digit of of the result. 
Result so far: 4261
Subtract 9 from 11 to get 2.

The final result is 4261 with a remainder of 2.