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

Step 1:
5 divided by 31 is 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Bring next digit (4) of the dividend behind the 5 and repeat the process: 54 / 31

Step 2:
The number 31 fits into 54 1 times, leaving a remainder of 23.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 31 from 54, we get 23.
Bring next digit (7) of the dividend behind the 23 and repeat the process: 237 / 31

Advancing to step 3:
The number 31 fits into 237 7 times, leaving a remainder of 20.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
If we subtract 217 from 237, we get 20.
Fetch the next digit (6) from the dividend, attach it to 20 and continue: 206 / 31

Advancing to step 4:
The number 31 fits into 206 6 times, leaving a remainder of 20.
Record the quotient 6 as the next digit in the result. 
Result so far: 176.0
If we subtract 186 from 206, we get 20.
Grab the next digit (7) from the dividend, add it to 20, then carry on: 207 / 31

Let's proceed to step 5:
The number 31 fits into 207 6 times, leaving a remainder of 21.
The next digit of our result is 6. 
Result so far: 1766.0
The remainder is 21 after subtracting 186 from 207.
Grab the next digit (1) from the dividend, add it to 21, then carry on: 211 / 31

Advancing to step 6:
When dividing 211 by 31, we get 6 with a remainder of 25.
Record the quotient 6 as the next digit in the result. 
Result so far: 17666.0
The remainder is 25 after subtracting 186 from 211.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 7:
31 goes into 250 8 times with a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 17666.8
If we take 248 away from 250, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 8:
31 goes into 20 0 times with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 17666.8
Subtracting 0 from 20 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:
31 goes into 200 6 times with a remainder of 14.
The next digit of our result is 6. 
Result so far: 17666.806
Subtracting 186 from 200 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 10:
31 goes into 140 4 times with a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 17666.8064
The remainder is 16 after subtracting 124 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 11:
When dividing 160 by 31, we get 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 17666.80645
If we subtract 155 from 160, we get 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 12:
If we divide 50 by 31, we get 1 and a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 17666.806451
The remainder is 19 after subtracting 31 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 13:
31 goes into 190 6 times with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 17666.8064516
Subtract 186 from 190 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 14:
31 goes into 40 1 times with a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 17666.80645161
Deduct 31 from 40 and we're left 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.

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