568542 ÷ 31 
We want to figure out the number of times 568542 can be divided by 31.

Step 1:
If we divide 5 by 31, we get 0 and 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.
Fetch the next digit (6) from the dividend, attach it to 5 and continue: 56 / 31

On to step 2:
56 divided by 31 is 1 with a remainder of 25.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 31 from 56 to get 25.
Bring next digit (8) of the dividend behind the 25 and repeat the process: 258 / 31

Step 3:
31 can be fit into 258 8 times, resulting in a remainder of 10.
Record the quotient 8 as the next digit in the result. 
Result so far: 18.0
The remainder is 10 after subtracting 248 from 258.
Grab the next digit (5) from the dividend, add it to 10, then carry on: 105 / 31

Step 4:
The number 31 fits into 105 3 times, leaving a remainder of 12.
Put 3 as the next digit of the answer. 
Result so far: 183.0
If we take 93 away from 105, we end up with 12.
Append the next digit (4) from the dividend to 12 and continue with: 124 / 31

Advancing to step 5:
124 divided by 31 is 4 with a remainder of 0.
Put 4 as the next digit of the answer. 
Result so far: 1834.0
Deduct 124 from 124 and we're left with 0.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 31

Advancing to step 6:
When dividing 2 by 31, we get 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 18340.0
The remainder is 2 after subtracting 0 from 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 7:
31 can be fit into 20 0 times, resulting in a remainder of 20.
The next digit of our result is 0. 
Result so far: 18340.0
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

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

Moving on to step 9:
31 can be fit into 140 4 times, resulting in a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 18340.064
Deduct 124 from 140 and we're left 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 10:
When dividing 160 by 31, we get 5 with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 18340.0645
If we take 155 away from 160, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 11:
If we divide 50 by 31, we get 1 and a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 18340.06451
If we take 31 away from 50, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 12:
190 divided by 31 is 6 with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 18340.064516
Subtracting 186 from 190 leaves us 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.

Moving on to step 13:
40 divided by 31 is 1 with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 18340.0645161
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.

Moving on to step 14:
31 can be fit into 90 2 times, resulting in a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 18340.06451612
The remainder is 28 after subtracting 62 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

In conclusion, the division gives 18340.06451612 with a balance of 2.8e-08.