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

Advancing to step 1:
When dividing 2 by 31, we get 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 31

Advancing to step 2:
When dividing 25 by 31, we get 0 with a remainder of 25.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 25 leaves us with 25.
Fetch the next digit (1) from the dividend, attach it to 25 and continue: 251 / 31

Going ahead to step 3:
When dividing 251 by 31, we get 8 with a remainder of 3.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
Subtracting 248 from 251 leaves us with 3.
Bring next digit (5) of the dividend behind the 3 and repeat the process: 35 / 31

On to step 4:
The number 31 fits into 35 1 times, leaving a remainder of 4.
The next digit of our result is 1. 
Result so far: 81.0
If we subtract 31 from 35, we get 4.
Include the next digit (1) from the dividend after 4, then repeat: 41 / 31

On to step 5:
31 can be fit into 41 1 times, resulting in a remainder of 10.
Use 1 as the next digit of our solution. 
Result so far: 811.0
The remainder is 10 after subtracting 31 from 41.
Bring next digit (8) of the dividend behind the 10 and repeat the process: 108 / 31

Let's proceed to step 6:
When dividing 108 by 31, we get 3 with a remainder of 15.
Put 3 as the next digit of the answer. 
Result so far: 8113.0
The remainder is 15 after subtracting 93 from 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 7:
31 can be fit into 150 4 times, resulting in a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 8113.4
The remainder is 26 after subtracting 124 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 8:
When dividing 260 by 31, we get 8 with a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 8113.48
If we subtract 248 from 260, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 9:
31 goes into 120 3 times with a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 8113.483
If we take 93 away from 120, we end up 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 10:
31 goes into 270 8 times with a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 8113.4838
Subtract 248 from 270 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 11:
220 divided by 31 is 7 with a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 8113.48387
Subtract 217 from 220 to 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.

Advancing to step 12:
If we divide 30 by 31, we get 0 and a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 8113.48387
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 13:
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: 8113.4838709
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.

On to step 14:
31 can be fit into 210 6 times, resulting in a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 8113.48387096
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.

The final result is 8113.48387096 with a remainder of 2.4e-08.