564687 ÷ 40 
We want to figure out the number of times 564687 can be divided by 40.

On to step 1:
When dividing 5 by 40, we get 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (6) from the dividend, attach it to 5 and continue: 56 / 40

Advancing to step 2:
The number 40 fits into 56 1 times, leaving a remainder of 16.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 40 from 56 to get 16.
Take the next digit (4) from the dividend and append it to 16, then repeat: 164 / 40

Step 3:
40 goes into 164 4 times with a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 14.0
If we take 160 away from 164, we end up with 4.
Take the next digit (6) from the dividend and append it to 4, then repeat: 46 / 40

Step 4:
If we divide 46 by 40, we get 1 and a remainder of 6.
Use 1 as the next digit of our solution. 
Result so far: 141.0
Subtract 40 from 46 to get 6.
Take the next digit (8) from the dividend and append it to 6, then repeat: 68 / 40

Advancing to step 5:
40 can be fit into 68 1 times, resulting in a remainder of 28.
Use 1 as the next digit of our solution. 
Result so far: 1411.0
If we subtract 40 from 68, we get 28.
Append the next digit (7) from the dividend to 28 and continue with: 287 / 40

Advancing to step 6:
When dividing 287 by 40, we get 7 with a remainder of 7.
Write down 7 as next digit of the result. 
Result so far: 14117.0
If we take 280 away from 287, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 7:
70 divided by 40 is 1 with a remainder of 30.
The next digit of our result is 1. 
Result so far: 14117.1
Deduct 40 from 70 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.

Moving on to step 8:
300 divided by 40 is 7 with a remainder of 20.
Write down 7 as next digit of the result. 
Result so far: 14117.17
Subtract 280 from 300 to 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.

Let's proceed to step 9:
40 can be fit into 200 5 times, resulting in a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 14117.175
Deduct 200 from 200 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 10:
40 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 14117.175
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 11:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 14117.175
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 14117.175, and the remainder is 0.0.