We're dividing 50845220 by 313 
Our goal is to divide 50845220 by 313.

Let's proceed to step 1:
If we divide 5 by 313, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 313

Going ahead to step 2:
When dividing 50 by 313, we get 0 with a remainder of 50.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 50, we end up with 50.
Fetch the next digit (8) from the dividend, attach it to 50 and continue: 508 / 313

Let's proceed to step 3:
The number 313 fits into 508 1 times, leaving a remainder of 195.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 313 from 508 to get 195.
Fetch the next digit (4) from the dividend, attach it to 195 and continue: 1954 / 313

Moving on to step 4:
If we divide 1954 by 313, we get 6 and a remainder of 76.
The number 6 becomes the next digit in our result. 
Result so far: 16.0
The remainder is 76 after subtracting 1878 from 1954.
Grab the next digit (5) from the dividend, add it to 76, then carry on: 765 / 313

Going ahead to step 5:
If we divide 765 by 313, we get 2 and a remainder of 139.
Record the quotient 2 as the next digit in the result. 
Result so far: 162.0
Deduct 626 from 765 and we're left with 139.
Append the next digit (2) from the dividend to 139 and continue with: 1392 / 313

On to step 6:
If we divide 1392 by 313, we get 4 and a remainder of 140.
The number 4 becomes the next digit in our result. 
Result so far: 1624.0
If we subtract 1252 from 1392, we get 140.
Bring next digit (2) of the dividend behind the 140 and repeat the process: 1402 / 313

Going ahead to step 7:
313 goes into 1402 4 times with a remainder of 150.
Write down 4 as next digit of the result. 
Result so far: 16244.0
Subtracting 1252 from 1402 leaves us with 150.
Take the next digit (0) from the dividend and append it to 150, then repeat: 1500 / 313

Let's proceed to step 8:
The number 313 fits into 1500 4 times, leaving a remainder of 248.
Put 4 as the next digit of the answer. 
Result so far: 162444.0
If we take 1252 away from 1500, we end up with 248.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2480, and continue the process.

Going ahead to step 9:
When dividing 2480 by 313, we get 7 with a remainder of 289.
Write down 7 as next digit of the result. 
Result so far: 162444.7
If we take 2191 away from 2480, we end up with 289.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2890, and continue the process.

Step 10:
313 can be fit into 2890 9 times, resulting in a remainder of 73.
The next digit of our result is 9. 
Result so far: 162444.79
The remainder is 73 after subtracting 2817 from 2890.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

On to step 11:
When dividing 730 by 313, we get 2 with a remainder of 104.
The number 2 becomes the next digit in our result. 
Result so far: 162444.792
Subtracting 626 from 730 leaves us with 104.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1040, and continue the process.

Moving on to step 12:
When dividing 1040 by 313, we get 3 with a remainder of 101.
Put 3 as the next digit of the answer. 
Result so far: 162444.7923
Subtract 939 from 1040 to get 101.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1010, and continue the process.

Going ahead to step 13:
When dividing 1010 by 313, we get 3 with a remainder of 71.
Put 3 as the next digit of the answer. 
Result so far: 162444.79233
Deduct 939 from 1010 and we're left with 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

After the division, we end up with 162444.79233 and a remainder of 7.1e-05.