We're dividing 189142 by 31 
Let's see how many times 31 fits into 189142.

Let's proceed to step 1:
31 can be fit into 1 0 times, resulting in a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 31

Advancing to step 2:
If we divide 18 by 31, we get 0 and a remainder of 18.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 18 to get 18.
Fetch the next digit (9) from the dividend, attach it to 18 and continue: 189 / 31

Step 3:
The number 31 fits into 189 6 times, leaving a remainder of 3.
The next digit of our result is 6. 
Result so far: 6.0
The remainder is 3 after subtracting 186 from 189.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 31

Going ahead to step 4:
If we divide 31 by 31, we get 1 and a remainder of 0.
The next digit of our result is 1. 
Result so far: 61.0
Deduct 31 from 31 and we're left with 0.
Grab the next digit (4) from the dividend, add it to 0, then carry on: 4 / 31

Let's proceed to step 5:
31 can be fit into 4 0 times, resulting in a remainder of 4.
The next digit of our result is 0. 
Result so far: 610.0
If we subtract 0 from 4, we get 4.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 31

On to step 6:
The number 31 fits into 42 1 times, leaving a remainder of 11.
The next digit of our result is 1. 
Result so far: 6101.0
If we subtract 31 from 42, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Let's proceed to step 7:
31 goes into 110 3 times with a remainder of 17.
Write down 3 as next digit of the result. 
Result so far: 6101.3
Deduct 93 from 110 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 8:
When dividing 170 by 31, we get 5 with a remainder of 15.
The next digit of our result is 5. 
Result so far: 6101.35
Subtracting 155 from 170 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 9:
31 goes into 150 4 times with a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 6101.354
If we take 124 away from 150, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 10:
The number 31 fits into 260 8 times, leaving a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 6101.3548
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.

On to step 11:
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: 6101.35483
If we subtract 93 from 120, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 12:
270 divided by 31 is 8 with a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 6101.354838
If we take 248 away from 270, 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 13:
31 goes into 220 7 times with a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 6101.3548387
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.

On to step 14:
The number 31 fits into 30 0 times, leaving a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 6101.3548387
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

The quotient of the division is 6101.3548387, and the remainder is 3e-08.