5064862 divided by 311 
We want to divide 5064862 by 311.

Advancing to step 1:
5 divided by 311 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 311

Advancing to step 2:
The number 311 fits into 50 0 times, leaving a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Include the next digit (6) from the dividend after 50, then repeat: 506 / 311

Going ahead to step 3:
506 divided by 311 is 1 with a remainder of 195.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 311 from 506 leaves us with 195.
Fetch the next digit (4) from the dividend, attach it to 195 and continue: 1954 / 311

Step 4:
If we divide 1954 by 311, we get 6 and a remainder of 88.
Write down 6 as next digit of the result. 
Result so far: 16.0
The remainder is 88 after subtracting 1866 from 1954.
Bring next digit (8) of the dividend behind the 88 and repeat the process: 888 / 311

On to step 5:
311 goes into 888 2 times with a remainder of 266.
Record the quotient 2 as the next digit in the result. 
Result so far: 162.0
If we subtract 622 from 888, we get 266.
Take the next digit (6) from the dividend and append it to 266, then repeat: 2666 / 311

Moving on to step 6:
311 goes into 2666 8 times with a remainder of 178.
The number 8 becomes the next digit in our result. 
Result so far: 1628.0
Deduct 2488 from 2666 and we're left with 178.
Bring next digit (2) of the dividend behind the 178 and repeat the process: 1782 / 311

On to step 7:
When dividing 1782 by 311, we get 5 with a remainder of 227.
Write down 5 as next digit of the result. 
Result so far: 16285.0
If we subtract 1555 from 1782, we get 227.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2270, and continue the process.

On to step 8:
311 goes into 2270 7 times with a remainder of 93.
Put 7 as the next digit of the answer. 
Result so far: 16285.7
Subtract 2177 from 2270 to get 93.
Since there are no more digits in the dividend, we add a zero to the remainder making it 930, and continue the process.

Moving on to step 9:
If we divide 930 by 311, we get 2 and a remainder of 308.
Record the quotient 2 as the next digit in the result. 
Result so far: 16285.72
If we subtract 622 from 930, we get 308.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3080, and continue the process.

Step 10:
3080 divided by 311 is 9 with a remainder of 281.
Write down 9 as next digit of the result. 
Result so far: 16285.729
If we subtract 2799 from 3080, we get 281.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2810, and continue the process.

Moving on to step 11:
311 can be fit into 2810 9 times, resulting in a remainder of 11.
Write down 9 as next digit of the result. 
Result so far: 16285.7299
Deduct 2799 from 2810 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

The final outcome is 16285.7299, with a leftover of 0.00011.