178566 ÷ 31 
We want to divide 178566 by 31.

Going ahead to step 1:
If we divide 1 by 31, we get 0 and a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 31

On to step 2:
If we divide 17 by 31, we get 0 and a remainder of 17.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 17 after subtracting 0 from 17.
Grab the next digit (8) from the dividend, add it to 17, then carry on: 178 / 31

Advancing to step 3:
178 divided by 31 is 5 with a remainder of 23.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we take 155 away from 178, we end up with 23.
Append the next digit (5) from the dividend to 23 and continue with: 235 / 31

Step 4:
If we divide 235 by 31, we get 7 and a remainder of 18.
Use 7 as the next digit of our solution. 
Result so far: 57.0
Deduct 217 from 235 and we're left with 18.
Include the next digit (6) from the dividend after 18, then repeat: 186 / 31

Step 5:
31 can be fit into 186 6 times, resulting in a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 576.0
If we take 186 away from 186, we end up with 0.
Take the next digit (6) from the dividend and append it to 0, then repeat: 6 / 31

Advancing to step 6:
31 can be fit into 6 0 times, resulting in a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 5760.0
If we take 0 away from 6, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 7:
When dividing 60 by 31, we get 1 with a remainder of 29.
The next digit of our result is 1. 
Result so far: 5760.1
If we subtract 31 from 60, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Advancing to step 8:
31 goes into 290 9 times with a remainder of 11.
The next digit of our result is 9. 
Result so far: 5760.19
If we take 279 away from 290, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 9:
31 can be fit into 110 3 times, resulting in a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 5760.193
If we subtract 93 from 110, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 10:
The number 31 fits into 170 5 times, leaving a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 5760.1935
The remainder is 15 after subtracting 155 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 11:
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: 5760.19354
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.

Step 12:
260 divided by 31 is 8 with a remainder of 12.
The next digit of our result is 8. 
Result so far: 5760.193548
If we take 248 away from 260, we end up 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 13:
31 can be fit into 120 3 times, resulting in a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 5760.1935483
Deduct 93 from 120 and we're left 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.

Advancing to step 14:
If we divide 270 by 31, we get 8 and a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 5760.19354838
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.

The final result is 5760.19354838 with a remainder of 2.2e-08.