5800479 ÷ 387 
Our goal is to divide 5800479 by 387.

Going ahead to step 1:
The number 387 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 387

Advancing to step 2:
The number 387 fits into 58 0 times, leaving a remainder of 58.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 58, we end up with 58.
Bring next digit (0) of the dividend behind the 58 and repeat the process: 580 / 387

Let's proceed to step 3:
387 can be fit into 580 1 times, resulting in a remainder of 193.
The next digit of our result is 1. 
Result so far: 1.0
If we take 387 away from 580, we end up with 193.
Fetch the next digit (0) from the dividend, attach it to 193 and continue: 1930 / 387

Going ahead to step 4:
387 goes into 1930 4 times with a remainder of 382.
Write down 4 as next digit of the result. 
Result so far: 14.0
If we subtract 1548 from 1930, we get 382.
Include the next digit (4) from the dividend after 382, then repeat: 3824 / 387

Going ahead to step 5:
387 can be fit into 3824 9 times, resulting in a remainder of 341.
Use 9 as the next digit of our solution. 
Result so far: 149.0
Deduct 3483 from 3824 and we're left with 341.
Append the next digit (7) from the dividend to 341 and continue with: 3417 / 387

Advancing to step 6:
387 can be fit into 3417 8 times, resulting in a remainder of 321.
The number 8 becomes the next digit in our result. 
Result so far: 1498.0
The remainder is 321 after subtracting 3096 from 3417.
Append the next digit (9) from the dividend to 321 and continue with: 3219 / 387

Moving on to step 7:
When dividing 3219 by 387, we get 8 with a remainder of 123.
The next digit of our result is 8. 
Result so far: 14988.0
Deduct 3096 from 3219 and we're left with 123.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1230, and continue the process.

Step 8:
The number 387 fits into 1230 3 times, leaving a remainder of 69.
Put 3 as the next digit of the answer. 
Result so far: 14988.3
If we subtract 1161 from 1230, we get 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Going ahead to step 9:
387 goes into 690 1 times with a remainder of 303.
Put 1 as the next digit of the answer. 
Result so far: 14988.31
The remainder is 303 after subtracting 387 from 690.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3030, and continue the process.

Let's proceed to step 10:
When dividing 3030 by 387, we get 7 with a remainder of 321.
Use 7 as the next digit of our solution. 
Result so far: 14988.317
Deduct 2709 from 3030 and we're left with 321.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3210, and continue the process.

On to step 11:
If we divide 3210 by 387, we get 8 and a remainder of 114.
Write down 8 as next digit of the result. 
Result so far: 14988.3178
If we take 3096 away from 3210, we end up with 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Advancing to step 12:
1140 divided by 387 is 2 with a remainder of 366.
Put 2 as the next digit of the answer. 
Result so far: 14988.31782
Deduct 774 from 1140 and we're left with 366.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3660, and continue the process.

Step 13:
The number 387 fits into 3660 9 times, leaving a remainder of 177.
Put 9 as the next digit of the answer. 
Result so far: 14988.317829
If we subtract 3483 from 3660, we get 177.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1770, and continue the process.

Step 14:
If we divide 1770 by 387, we get 4 and a remainder of 222.
Record the quotient 4 as the next digit in the result. 
Result so far: 14988.3178294
Subtract 1548 from 1770 to get 222.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

Advancing to step 15:
When dividing 2220 by 387, we get 5 with a remainder of 285.
Use 5 as the next digit of our solution. 
Result so far: 14988.31782945
Subtracting 1935 from 2220 leaves us with 285.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2850, and continue the process.

The quotient of the division is 14988.31782945, and the remainder is 2.85e-07.