Let's divide 527239 by 31
We want to figure out the number of times 527239 can be divided by 31.

On to step 1:
If we divide 5 by 31, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (2) from the dividend, add it to 5, then carry on: 52 / 31

Moving on to step 2:
If we divide 52 by 31, we get 1 and a remainder of 21.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 31 away from 52, we end up with 21.
Append the next digit (7) from the dividend to 21 and continue with: 217 / 31

Moving on to step 3:
31 can be fit into 217 7 times, resulting in a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 17.0
The remainder is 0 after subtracting 217 from 217.
Include the next digit (2) from the dividend after 0, then repeat: 2 / 31

Advancing to step 4:
31 goes into 2 0 times with a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 170.0
The remainder is 2 after subtracting 0 from 2.
Include the next digit (3) from the dividend after 2, then repeat: 23 / 31

On to step 5:
If we divide 23 by 31, we get 0 and a remainder of 23.
Record the quotient 0 as the next digit in the result. 
Result so far: 1700.0
Deduct 0 from 23 and we're left with 23.
Append the next digit (9) from the dividend to 23 and continue with: 239 / 31

Step 6:
When dividing 239 by 31, we get 7 with a remainder of 22.
Write down 7 as next digit of the result. 
Result so far: 17007.0
Subtract 217 from 239 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 7:
When dividing 220 by 31, we get 7 with a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 17007.7
If we subtract 217 from 220, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 8:
31 goes into 30 0 times with a remainder of 30.
The next digit of our result is 0. 
Result so far: 17007.7
Subtract 0 from 30 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 9:
31 can be fit into 300 9 times, resulting in a remainder of 21.
Record the quotient 9 as the next digit in the result. 
Result so far: 17007.709
If we subtract 279 from 300, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 10:
31 goes into 210 6 times with a remainder of 24.
Record the quotient 6 as the next digit in the result. 
Result so far: 17007.7096
The remainder is 24 after subtracting 186 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 11:
If we divide 240 by 31, we get 7 and a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 17007.70967
If we take 217 away from 240, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 12:
When dividing 230 by 31, we get 7 with a remainder of 13.
The next digit of our result is 7. 
Result so far: 17007.709677
Subtracting 217 from 230 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

After the division, we end up with 17007.709677 and a remainder of 1.3e-06.