We're dividing 528318 by 31 
Our goal is to divide 528318 by 31.

Advancing to step 1:
31 can be fit into 5 0 times, resulting in a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Grab the next digit (2) from the dividend, add it to 5, then carry on: 52 / 31

Going ahead to step 2:
When dividing 52 by 31, we get 1 with a remainder of 21.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 31 from 52 and we're left with 21.
Include the next digit (8) from the dividend after 21, then repeat: 218 / 31

Going ahead to step 3:
If we divide 218 by 31, we get 7 and a remainder of 1.
The next digit of our result is 7. 
Result so far: 17.0
Deduct 217 from 218 and we're left with 1.
Bring next digit (3) of the dividend behind the 1 and repeat the process: 13 / 31

Moving on to step 4:
When dividing 13 by 31, we get 0 with a remainder of 13.
Use 0 as the next digit of our solution. 
Result so far: 170.0
The remainder is 13 after subtracting 0 from 13.
Grab the next digit (1) from the dividend, add it to 13, then carry on: 131 / 31

Going ahead to step 5:
The number 31 fits into 131 4 times, leaving a remainder of 7.
Write down 4 as next digit of the result. 
Result so far: 1704.0
If we subtract 124 from 131, we get 7.
Append the next digit (8) from the dividend to 7 and continue with: 78 / 31

Advancing to step 6:
If we divide 78 by 31, we get 2 and a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 17042.0
Subtract 62 from 78 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 7:
160 divided by 31 is 5 with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 17042.5
Subtracting 155 from 160 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 8:
If we divide 50 by 31, we get 1 and a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 17042.51
If we take 31 away from 50, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 9:
31 goes into 190 6 times with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 17042.516
Deduct 186 from 190 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 10:
When dividing 40 by 31, we get 1 with a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 17042.5161
If we take 31 away from 40, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 11:
90 divided by 31 is 2 with a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 17042.51612
Subtracting 62 from 90 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 12:
If we divide 280 by 31, we get 9 and a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 17042.516129
Subtract 279 from 280 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 13:
The number 31 fits into 10 0 times, leaving a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 17042.516129
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 14:
When dividing 100 by 31, we get 3 with a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 17042.51612903
The remainder is 7 after subtracting 93 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

After the division, we end up with 17042.51612903 and a remainder of 7e-09.