We divide 538462 by 31
We're looking to find how many times 31 goes into 538462.

Step 1:
The number 31 fits into 5 0 times, leaving 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.
Append the next digit (3) from the dividend to 5 and continue with: 53 / 31

Step 2:
The number 31 fits into 53 1 times, leaving a remainder of 22.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 31 from 53 leaves us with 22.
Grab the next digit (8) from the dividend, add it to 22, then carry on: 228 / 31

On to step 3:
The number 31 fits into 228 7 times, leaving a remainder of 11.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
Subtract 217 from 228 to get 11.
Bring next digit (4) of the dividend behind the 11 and repeat the process: 114 / 31

Going ahead to step 4:
114 divided by 31 is 3 with a remainder of 21.
Record the quotient 3 as the next digit in the result. 
Result so far: 173.0
Subtracting 93 from 114 leaves us with 21.
Include the next digit (6) from the dividend after 21, then repeat: 216 / 31

On to step 5:
If we divide 216 by 31, we get 6 and a remainder of 30.
Record the quotient 6 as the next digit in the result. 
Result so far: 1736.0
Subtract 186 from 216 to get 30.
Include the next digit (2) from the dividend after 30, then repeat: 302 / 31

On to step 6:
302 divided by 31 is 9 with a remainder of 23.
Write down 9 as next digit of the result. 
Result so far: 17369.0
The remainder is 23 after subtracting 279 from 302.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 7:
If we divide 230 by 31, we get 7 and a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 17369.7
If we subtract 217 from 230, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 8:
130 divided by 31 is 4 with a remainder of 6.
Put 4 as the next digit of the answer. 
Result so far: 17369.74
The remainder is 6 after subtracting 124 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 9:
When dividing 60 by 31, we get 1 with a remainder of 29.
Write down 1 as next digit of the result. 
Result so far: 17369.741
Subtract 31 from 60 to get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Let's proceed to step 10:
If we divide 290 by 31, we get 9 and a remainder of 11.
The number 9 becomes the next digit in our result. 
Result so far: 17369.7419
If we subtract 279 from 290, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 11:
31 goes into 110 3 times with a remainder of 17.
Use 3 as the next digit of our solution. 
Result so far: 17369.74193
If we subtract 93 from 110, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 12:
31 goes into 170 5 times with a remainder of 15.
The next digit of our result is 5. 
Result so far: 17369.741935
Subtract 155 from 170 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 13:
If we divide 150 by 31, we get 4 and a remainder of 26.
Use 4 as the next digit of our solution. 
Result so far: 17369.7419354
Subtracting 124 from 150 leaves us 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.

Let's proceed to step 14:
The number 31 fits into 260 8 times, leaving a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 17369.74193548
If we take 248 away from 260, we end up 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.

The quotient of the division is 17369.74193548, and the remainder is 1.2e-08.