We divide 387845 by 30
Our goal is to divide 387845 by 30.

Going ahead to step 1:
3 divided by 30 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (8) from the dividend and append it to 3, then repeat: 38 / 30

Going ahead to step 2:
When dividing 38 by 30, we get 1 with a remainder of 8.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 30 from 38 and we're left with 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 30

Let's proceed to step 3:
87 divided by 30 is 2 with a remainder of 27.
The next digit of our result is 2. 
Result so far: 12.0
If we take 60 away from 87, we end up with 27.
Take the next digit (8) from the dividend and append it to 27, then repeat: 278 / 30

Step 4:
30 can be fit into 278 9 times, resulting in a remainder of 8.
Write down 9 as next digit of the result. 
Result so far: 129.0
Deduct 270 from 278 and we're left with 8.
Fetch the next digit (4) from the dividend, attach it to 8 and continue: 84 / 30

On to step 5:
30 goes into 84 2 times with a remainder of 24.
Put 2 as the next digit of the answer. 
Result so far: 1292.0
If we subtract 60 from 84, we get 24.
Take the next digit (5) from the dividend and append it to 24, then repeat: 245 / 30

Let's proceed to step 6:
If we divide 245 by 30, we get 8 and a remainder of 5.
Record the quotient 8 as the next digit in the result. 
Result so far: 12928.0
If we take 240 away from 245, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
The number 30 fits into 50 1 times, leaving a remainder of 20.
Write down 1 as next digit of the result. 
Result so far: 12928.1
Subtract 30 from 50 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 8:
When dividing 200 by 30, we get 6 with a remainder of 20.
The next digit of our result is 6. 
Result so far: 12928.16
Deduct 180 from 200 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 9:
30 goes into 200 6 times with a remainder of 20.
Put 6 as the next digit of the answer. 
Result so far: 12928.166
Subtract 180 from 200 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The quotient of the division is 12928.166, and the remainder is 0.002.