Let's divide 31117885 by 595
We're looking to find how many times 595 goes into 31117885.

Going ahead to step 1:
595 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 595

Advancing to step 2:
If we divide 31 by 595, we get 0 and a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Bring next digit (1) of the dividend behind the 31 and repeat the process: 311 / 595

Step 3:
311 divided by 595 is 0 with a remainder of 311.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 311 and we're left with 311.
Include the next digit (1) from the dividend after 311, then repeat: 3111 / 595

Let's proceed to step 4:
3111 divided by 595 is 5 with a remainder of 136.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Subtracting 2975 from 3111 leaves us with 136.
Fetch the next digit (7) from the dividend, attach it to 136 and continue: 1367 / 595

Step 5:
595 can be fit into 1367 2 times, resulting in a remainder of 177.
Use 2 as the next digit of our solution. 
Result so far: 52.0
The remainder is 177 after subtracting 1190 from 1367.
Grab the next digit (8) from the dividend, add it to 177, then carry on: 1778 / 595

Advancing to step 6:
1778 divided by 595 is 2 with a remainder of 588.
Use 2 as the next digit of our solution. 
Result so far: 522.0
Subtracting 1190 from 1778 leaves us with 588.
Take the next digit (8) from the dividend and append it to 588, then repeat: 5888 / 595

Advancing to step 7:
595 can be fit into 5888 9 times, resulting in a remainder of 533.
Use 9 as the next digit of our solution. 
Result so far: 5229.0
If we take 5355 away from 5888, we end up with 533.
Grab the next digit (5) from the dividend, add it to 533, then carry on: 5335 / 595

Let's proceed to step 8:
The number 595 fits into 5335 8 times, leaving a remainder of 575.
Put 8 as the next digit of the answer. 
Result so far: 52298.0
If we subtract 4760 from 5335, we get 575.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5750, and continue the process.

Going ahead to step 9:
The number 595 fits into 5750 9 times, leaving a remainder of 395.
Use 9 as the next digit of our solution. 
Result so far: 52298.9
Subtracting 5355 from 5750 leaves us with 395.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3950, and continue the process.

On to step 10:
If we divide 3950 by 595, we get 6 and a remainder of 380.
The next digit of our result is 6. 
Result so far: 52298.96
If we subtract 3570 from 3950, we get 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Moving on to step 11:
595 goes into 3800 6 times with a remainder of 230.
The next digit of our result is 6. 
Result so far: 52298.966
If we take 3570 away from 3800, we end up with 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

The quotient of the division is 52298.966, and the remainder is 0.023.