We look at the division of 387781 by 4 
Our goal is to divide 387781 by 4.

Advancing to step 1:
The number 4 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 4

Advancing to step 2:
When dividing 38 by 4, we get 9 with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 9.0
If we subtract 36 from 38, we get 2.
Bring next digit (7) of the dividend behind the 2 and repeat the process: 27 / 4

Moving on to step 3:
27 divided by 4 is 6 with a remainder of 3.
Use 6 as the next digit of our solution. 
Result so far: 96.0
Subtracting 24 from 27 leaves us with 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 4

Advancing to step 4:
If we divide 37 by 4, we get 9 and a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 969.0
If we subtract 36 from 37, we get 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 4

Going ahead to step 5:
If we divide 18 by 4, we get 4 and a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 9694.0
Subtracting 16 from 18 leaves us with 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 4

On to step 6:
4 goes into 21 5 times with a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 96945.0
Deduct 20 from 21 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 7:
The number 4 fits into 10 2 times, leaving a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 96945.2
If we subtract 8 from 10, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 8:
4 goes into 20 5 times with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 96945.25
If we subtract 20 from 20, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 9:
The number 4 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 96945.25
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 10:
0 divided by 4 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 96945.25
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 96945.25, with a leftover of 0.0.