31018 divided by 28 
We want to divide 31018 by 28.

Step 1:
If we divide 3 by 28, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 28

Moving on to step 2:
28 goes into 31 1 times with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 28 from 31 and we're left with 3.
Grab the next digit (0) from the dividend, add it to 3, then carry on: 30 / 28

On to step 3:
If we divide 30 by 28, we get 1 and a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 11.0
If we take 28 away from 30, we end up with 2.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 28

Step 4:
21 divided by 28 is 0 with a remainder of 21.
Record the quotient 0 as the next digit in the result. 
Result so far: 110.0
If we subtract 0 from 21, we get 21.
Fetch the next digit (8) from the dividend, attach it to 21 and continue: 218 / 28

Advancing to step 5:
The number 28 fits into 218 7 times, leaving a remainder of 22.
Use 7 as the next digit of our solution. 
Result so far: 1107.0
If we take 196 away from 218, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 6:
28 goes into 220 7 times with a remainder of 24.
Put 7 as the next digit of the answer. 
Result so far: 1107.7
If we take 196 away from 220, we end up 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.

Step 7:
240 divided by 28 is 8 with a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 1107.78
Subtracting 224 from 240 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 8:
28 goes into 160 5 times with a remainder of 20.
Put 5 as the next digit of the answer. 
Result so far: 1107.785
Subtracting 140 from 160 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 9:
200 divided by 28 is 7 with a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 1107.7857
Deduct 196 from 200 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:
40 divided by 28 is 1 with a remainder of 12.
Record the quotient 1 as the next digit in the result. 
Result so far: 1107.78571
Subtracting 28 from 40 leaves us 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.

Advancing to step 11:
When dividing 120 by 28, we get 4 with a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 1107.785714
Subtracting 112 from 120 leaves us 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.

Advancing to step 12:
The number 28 fits into 80 2 times, leaving a remainder of 24.
Write down 2 as next digit of the result. 
Result so far: 1107.7857142
The remainder is 24 after subtracting 56 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 13:
240 divided by 28 is 8 with a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 1107.78571428
If we subtract 224 from 240, we 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.

After the division, we end up with 1107.78571428 and a remainder of 1.6e-08.