We're dividing 5838361 by 873 
Our goal is to divide 5838361 by 873.

Going ahead to step 1:
When dividing 5 by 873, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 873

Advancing to step 2:
873 goes into 58 0 times with a remainder of 58.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 58, we end up with 58.
Fetch the next digit (3) from the dividend, attach it to 58 and continue: 583 / 873

Moving on to step 3:
When dividing 583 by 873, we get 0 with a remainder of 583.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 583 leaves us with 583.
Grab the next digit (8) from the dividend, add it to 583, then carry on: 5838 / 873

Advancing to step 4:
If we divide 5838 by 873, we get 6 and a remainder of 600.
Use 6 as the next digit of our solution. 
Result so far: 6.0
If we subtract 5238 from 5838, we get 600.
Append the next digit (3) from the dividend to 600 and continue with: 6003 / 873

On to step 5:
873 goes into 6003 6 times with a remainder of 765.
Use 6 as the next digit of our solution. 
Result so far: 66.0
Subtracting 5238 from 6003 leaves us with 765.
Append the next digit (6) from the dividend to 765 and continue with: 7656 / 873

On to step 6:
When dividing 7656 by 873, we get 8 with a remainder of 672.
Put 8 as the next digit of the answer. 
Result so far: 668.0
Subtract 6984 from 7656 to get 672.
Bring next digit (1) of the dividend behind the 672 and repeat the process: 6721 / 873

Let's proceed to step 7:
873 can be fit into 6721 7 times, resulting in a remainder of 610.
Write down 7 as next digit of the result. 
Result so far: 6687.0
Subtracting 6111 from 6721 leaves us with 610.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6100, and continue the process.

Step 8:
873 can be fit into 6100 6 times, resulting in a remainder of 862.
Write down 6 as next digit of the result. 
Result so far: 6687.6
If we take 5238 away from 6100, we end up with 862.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8620, and continue the process.

On to step 9:
When dividing 8620 by 873, we get 9 with a remainder of 763.
The next digit of our result is 9. 
Result so far: 6687.69
Subtracting 7857 from 8620 leaves us with 763.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7630, and continue the process.

Step 10:
If we divide 7630 by 873, we get 8 and a remainder of 646.
Write down 8 as next digit of the result. 
Result so far: 6687.698
The remainder is 646 after subtracting 6984 from 7630.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6460, and continue the process.

Going ahead to step 11:
873 goes into 6460 7 times with a remainder of 349.
Record the quotient 7 as the next digit in the result. 
Result so far: 6687.6987
If we subtract 6111 from 6460, we get 349.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3490, and continue the process.

Moving on to step 12:
If we divide 3490 by 873, we get 3 and a remainder of 871.
Write down 3 as next digit of the result. 
Result so far: 6687.69873
Subtract 2619 from 3490 to get 871.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8710, and continue the process.

Moving on to step 13:
If we divide 8710 by 873, we get 9 and a remainder of 853.
Write down 9 as next digit of the result. 
Result so far: 6687.698739
Subtracting 7857 from 8710 leaves us with 853.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8530, and continue the process.

Step 14:
873 goes into 8530 9 times with a remainder of 673.
Record the quotient 9 as the next digit in the result. 
Result so far: 6687.6987399
If we subtract 7857 from 8530, we get 673.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6730, and continue the process.

The quotient of the division is 6687.6987399, and the remainder is 6.73e-06.