We look at the division of 31012777 by 595 
Our goal is to divide 31012777 by 595.

Let's proceed to step 1:
595 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 595

Going ahead to step 2:
The number 595 fits into 31 0 times, leaving a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Include the next digit (0) from the dividend after 31, then repeat: 310 / 595

On to step 3:
When dividing 310 by 595, we get 0 with a remainder of 310.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 310 after subtracting 0 from 310.
Include the next digit (1) from the dividend after 310, then repeat: 3101 / 595

Going ahead to step 4:
When dividing 3101 by 595, we get 5 with a remainder of 126.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtract 2975 from 3101 to get 126.
Fetch the next digit (2) from the dividend, attach it to 126 and continue: 1262 / 595

Moving on to step 5:
595 can be fit into 1262 2 times, resulting in a remainder of 72.
The next digit of our result is 2. 
Result so far: 52.0
Deduct 1190 from 1262 and we're left with 72.
Fetch the next digit (7) from the dividend, attach it to 72 and continue: 727 / 595

Advancing to step 6:
The number 595 fits into 727 1 times, leaving a remainder of 132.
The next digit of our result is 1. 
Result so far: 521.0
Subtracting 595 from 727 leaves us with 132.
Append the next digit (7) from the dividend to 132 and continue with: 1327 / 595

Advancing to step 7:
When dividing 1327 by 595, we get 2 with a remainder of 137.
The number 2 becomes the next digit in our result. 
Result so far: 5212.0
If we subtract 1190 from 1327, we get 137.
Take the next digit (7) from the dividend and append it to 137, then repeat: 1377 / 595

Advancing to step 8:
595 can be fit into 1377 2 times, resulting in a remainder of 187.
Write down 2 as next digit of the result. 
Result so far: 52122.0
Subtract 1190 from 1377 to get 187.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1870, and continue the process.

Step 9:
When dividing 1870 by 595, we get 3 with a remainder of 85.
Record the quotient 3 as the next digit in the result. 
Result so far: 52122.3
Subtracting 1785 from 1870 leaves us with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Let's proceed to step 10:
The number 595 fits into 850 1 times, leaving a remainder of 255.
Use 1 as the next digit of our solution. 
Result so far: 52122.31
Deduct 595 from 850 and we're left with 255.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2550, and continue the process.

Moving on to step 11:
2550 divided by 595 is 4 with a remainder of 170.
The next digit of our result is 4. 
Result so far: 52122.314
Subtract 2380 from 2550 to get 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Advancing to step 12:
If we divide 1700 by 595, we get 2 and a remainder of 510.
Use 2 as the next digit of our solution. 
Result so far: 52122.3142
Subtracting 1190 from 1700 leaves us with 510.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5100, and continue the process.

Step 13:
5100 divided by 595 is 8 with a remainder of 340.
The next digit of our result is 8. 
Result so far: 52122.31428
Subtract 4760 from 5100 to get 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

Going ahead to step 14:
When dividing 3400 by 595, we get 5 with a remainder of 425.
Use 5 as the next digit of our solution. 
Result so far: 52122.314285
Subtracting 2975 from 3400 leaves us with 425.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4250, and continue the process.

On to step 15:
4250 divided by 595 is 7 with a remainder of 85.
The next digit of our result is 7. 
Result so far: 52122.3142857
Subtracting 4165 from 4250 leaves us with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

On to step 16:
If we divide 850 by 595, we get 1 and a remainder of 255.
The number 1 becomes the next digit in our result. 
Result so far: 52122.31428571
Subtract 595 from 850 to get 255.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2550, and continue the process.

In conclusion, the division gives 52122.31428571 with a balance of 2.55e-07.