We divide 5071277 by 904
We want to divide 5071277 by 904.

Advancing to step 1:
904 can be fit into 5 0 times, resulting in 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.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 904

On to step 2:
50 divided by 904 is 0 with a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 50, we end up with 50.
Include the next digit (7) from the dividend after 50, then repeat: 507 / 904

Moving on to step 3:
The number 904 fits into 507 0 times, leaving a remainder of 507.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 507 to get 507.
Append the next digit (1) from the dividend to 507 and continue with: 5071 / 904

Advancing to step 4:
904 can be fit into 5071 5 times, resulting in a remainder of 551.
The next digit of our result is 5. 
Result so far: 5.0
Deduct 4520 from 5071 and we're left with 551.
Take the next digit (2) from the dividend and append it to 551, then repeat: 5512 / 904

On to step 5:
If we divide 5512 by 904, we get 6 and a remainder of 88.
The number 6 becomes the next digit in our result. 
Result so far: 56.0
Subtracting 5424 from 5512 leaves us with 88.
Take the next digit (7) from the dividend and append it to 88, then repeat: 887 / 904

On to step 6:
904 goes into 887 0 times with a remainder of 887.
Use 0 as the next digit of our solution. 
Result so far: 560.0
Subtract 0 from 887 to get 887.
Take the next digit (7) from the dividend and append it to 887, then repeat: 8877 / 904

Advancing to step 7:
904 goes into 8877 9 times with a remainder of 741.
Write down 9 as next digit of the result. 
Result so far: 5609.0
Deduct 8136 from 8877 and we're left with 741.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7410, and continue the process.

Let's proceed to step 8:
904 can be fit into 7410 8 times, resulting in a remainder of 178.
Use 8 as the next digit of our solution. 
Result so far: 5609.8
If we subtract 7232 from 7410, we get 178.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1780, and continue the process.

Moving on to step 9:
If we divide 1780 by 904, we get 1 and a remainder of 876.
The next digit of our result is 1. 
Result so far: 5609.81
Subtracting 904 from 1780 leaves us with 876.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8760, and continue the process.

Going ahead to step 10:
If we divide 8760 by 904, we get 9 and a remainder of 624.
Put 9 as the next digit of the answer. 
Result so far: 5609.819
If we subtract 8136 from 8760, we get 624.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6240, and continue the process.

Advancing to step 11:
The number 904 fits into 6240 6 times, leaving a remainder of 816.
Put 6 as the next digit of the answer. 
Result so far: 5609.8196
If we subtract 5424 from 6240, we get 816.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8160, and continue the process.

Advancing to step 12:
904 can be fit into 8160 9 times, resulting in a remainder of 24.
Record the quotient 9 as the next digit in the result. 
Result so far: 5609.81969
Subtract 8136 from 8160 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 13:
If we divide 240 by 904, we get 0 and a remainder of 240.
Put 0 as the next digit of the answer. 
Result so far: 5609.81969
Subtract 0 from 240 to get 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Going ahead to step 14:
The number 904 fits into 2400 2 times, leaving a remainder of 592.
Record the quotient 2 as the next digit in the result. 
Result so far: 5609.8196902
If we take 1808 away from 2400, we end up with 592.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5920, and continue the process.

Step 15:
If we divide 5920 by 904, we get 6 and a remainder of 496.
Record the quotient 6 as the next digit in the result. 
Result so far: 5609.81969026
If we subtract 5424 from 5920, we get 496.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4960, and continue the process.

The final outcome is 5609.81969026, with a leftover of 4.96e-07.