We look at the division of 538775 by 31 
We want to divide 538775 by 31.

Step 1:
5 divided by 31 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (3) from the dividend after 5, then repeat: 53 / 31

Step 2:
53 divided by 31 is 1 with a remainder of 22.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 31 away from 53, we end up with 22.
Grab the next digit (8) from the dividend, add it to 22, then carry on: 228 / 31

Moving on to step 3:
The number 31 fits into 228 7 times, leaving a remainder of 11.
Put 7 as the next digit of the answer. 
Result so far: 17.0
If we take 217 away from 228, we end up with 11.
Take the next digit (7) from the dividend and append it to 11, then repeat: 117 / 31

On to step 4:
31 can be fit into 117 3 times, resulting in a remainder of 24.
The number 3 becomes the next digit in our result. 
Result so far: 173.0
Subtracting 93 from 117 leaves us with 24.
Append the next digit (7) from the dividend to 24 and continue with: 247 / 31

Step 5:
31 can be fit into 247 7 times, resulting in a remainder of 30.
Record the quotient 7 as the next digit in the result. 
Result so far: 1737.0
Subtracting 217 from 247 leaves us with 30.
Append the next digit (5) from the dividend to 30 and continue with: 305 / 31

Going ahead to step 6:
If we divide 305 by 31, we get 9 and a remainder of 26.
Use 9 as the next digit of our solution. 
Result so far: 17379.0
If we take 279 away from 305, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 7:
31 goes into 260 8 times with a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 17379.8
Subtracting 248 from 260 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 8:
The number 31 fits into 120 3 times, leaving a remainder of 27.
Write down 3 as next digit of the result. 
Result so far: 17379.83
Subtracting 93 from 120 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 9:
If we divide 270 by 31, we get 8 and a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 17379.838
The remainder is 22 after subtracting 248 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 10:
220 divided by 31 is 7 with a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 17379.8387
Subtracting 217 from 220 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 11:
31 can be fit into 30 0 times, resulting in a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 17379.8387
Subtracting 0 from 30 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 12:
When dividing 300 by 31, we get 9 with a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 17379.838709
If we take 279 away from 300, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 13:
If we divide 210 by 31, we get 6 and a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 17379.8387096
Deduct 186 from 210 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 14:
31 can be fit into 240 7 times, resulting in a remainder of 23.
Put 7 as the next digit of the answer. 
Result so far: 17379.83870967
Subtract 217 from 240 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Our division results in 17379.83870967 with a remaining 2.3e-08.