We look at the division of 387361 by 9 
We're looking to find how many times 9 goes into 387361.

Going ahead to step 1:
The number 9 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (8) from the dividend, add it to 3, then carry on: 38 / 9

Going ahead to step 2:
38 divided by 9 is 4 with a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 4.0
The remainder is 2 after subtracting 36 from 38.
Grab the next digit (7) from the dividend, add it to 2, then carry on: 27 / 9

Let's proceed to step 3:
The number 9 fits into 27 3 times, leaving a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 43.0
The remainder is 0 after subtracting 27 from 27.
Bring next digit (3) of the dividend behind the 0 and repeat the process: 3 / 9

Let's proceed to step 4:
When dividing 3 by 9, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 430.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 9

Advancing to step 5:
36 divided by 9 is 4 with a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 4304.0
Deduct 36 from 36 and we're left with 0.
Bring next digit (1) of the dividend behind the 0 and repeat the process: 1 / 9

Going ahead to step 6:
9 can be fit into 1 0 times, resulting in a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 43040.0
If we subtract 0 from 1, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
9 can be fit into 10 1 times, resulting in a remainder of 1.
The next digit of our result is 1. 
Result so far: 43040.1
If we subtract 9 from 10, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 8:
10 divided by 9 is 1 with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 43040.11
Subtract 9 from 10 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

After the division, we end up with 43040.11 and a remainder of 0.001.