566881 divided by 31 
Let's see how many times 31 fits into 566881.

Advancing to step 1:
The number 31 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Append the next digit (6) from the dividend to 5 and continue with: 56 / 31

Going ahead to step 2:
31 goes into 56 1 times with a remainder of 25.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 31 away from 56, we end up with 25.
Bring next digit (6) of the dividend behind the 25 and repeat the process: 256 / 31

Moving on to step 3:
The number 31 fits into 256 8 times, leaving a remainder of 8.
The next digit of our result is 8. 
Result so far: 18.0
Subtract 248 from 256 to get 8.
Append the next digit (8) from the dividend to 8 and continue with: 88 / 31

On to step 4:
When dividing 88 by 31, we get 2 with a remainder of 26.
Record the quotient 2 as the next digit in the result. 
Result so far: 182.0
The remainder is 26 after subtracting 62 from 88.
Include the next digit (8) from the dividend after 26, then repeat: 268 / 31

Advancing to step 5:
The number 31 fits into 268 8 times, leaving a remainder of 20.
The next digit of our result is 8. 
Result so far: 1828.0
Deduct 248 from 268 and we're left with 20.
Grab the next digit (1) from the dividend, add it to 20, then carry on: 201 / 31

Moving on to step 6:
If we divide 201 by 31, we get 6 and a remainder of 15.
Write down 6 as next digit of the result. 
Result so far: 18286.0
Subtract 186 from 201 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

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

Step 8:
The number 31 fits into 260 8 times, leaving a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 18286.48
The remainder is 12 after subtracting 248 from 260.
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:
If we divide 120 by 31, we get 3 and a remainder of 27.
Use 3 as the next digit of our solution. 
Result so far: 18286.483
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 10:
31 can be fit into 270 8 times, resulting in a remainder of 22.
Record the quotient 8 as the next digit in the result. 
Result so far: 18286.4838
The remainder is 22 after subtracting 248 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 11:
31 can be fit into 220 7 times, resulting in a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 18286.48387
The remainder is 3 after subtracting 217 from 220.
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:
When dividing 30 by 31, we get 0 with a remainder of 30.
The next digit of our result is 0. 
Result so far: 18286.48387
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 13:
If we divide 300 by 31, we get 9 and a remainder of 21.
Write down 9 as next digit of the result. 
Result so far: 18286.4838709
The remainder is 21 after subtracting 279 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 14:
The number 31 fits into 210 6 times, leaving a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 18286.48387096
Subtract 186 from 210 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

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