We're dividing 519228 by 31 
We're looking to find how many times 31 goes into 519228.

Going ahead to step 1:
If we divide 5 by 31, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 31

On to step 2:
When dividing 51 by 31, we get 1 with a remainder of 20.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 31 away from 51, we end up with 20.
Bring next digit (9) of the dividend behind the 20 and repeat the process: 209 / 31

Going ahead to step 3:
209 divided by 31 is 6 with a remainder of 23.
Use 6 as the next digit of our solution. 
Result so far: 16.0
Subtract 186 from 209 to get 23.
Fetch the next digit (2) from the dividend, attach it to 23 and continue: 232 / 31

Moving on to step 4:
When dividing 232 by 31, we get 7 with a remainder of 15.
The number 7 becomes the next digit in our result. 
Result so far: 167.0
The remainder is 15 after subtracting 217 from 232.
Append the next digit (2) from the dividend to 15 and continue with: 152 / 31

Advancing to step 5:
152 divided by 31 is 4 with a remainder of 28.
The number 4 becomes the next digit in our result. 
Result so far: 1674.0
The remainder is 28 after subtracting 124 from 152.
Include the next digit (8) from the dividend after 28, then repeat: 288 / 31

Advancing to step 6:
31 can be fit into 288 9 times, resulting in a remainder of 9.
Write down 9 as next digit of the result. 
Result so far: 16749.0
Subtract 279 from 288 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 7:
31 can be fit into 90 2 times, resulting in a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 16749.2
If we subtract 62 from 90, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 8:
31 can be fit into 280 9 times, resulting in a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 16749.29
Subtracting 279 from 280 leaves us with 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 9:
31 can be fit into 10 0 times, resulting in a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 16749.29
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 10:
31 goes into 100 3 times with a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 16749.2903
If we subtract 93 from 100, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 11:
When dividing 70 by 31, we get 2 with a remainder of 8.
The next digit of our result is 2. 
Result so far: 16749.29032
If we take 62 away from 70, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 12:
31 can be fit into 80 2 times, resulting in a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 16749.290322
If we take 62 away from 80, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The quotient of the division is 16749.290322, and the remainder is 1.8e-06.