We're dividing 565208 by 40 
Our goal is to divide 565208 by 40.

Moving on to step 1:
The number 40 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (6) from the dividend to 5 and continue with: 56 / 40

On 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.
Grab the next digit (5) from the dividend, add it to 16, then carry on: 165 / 40

Let's proceed to step 3:
165 divided by 40 is 4 with a remainder of 5.
Put 4 as the next digit of the answer. 
Result so far: 14.0
Subtract 160 from 165 to get 5.
Append the next digit (2) from the dividend to 5 and continue with: 52 / 40

Let's proceed to step 4:
52 divided by 40 is 1 with a remainder of 12.
Put 1 as the next digit of the answer. 
Result so far: 141.0
Deduct 40 from 52 and we're left with 12.
Include the next digit (0) from the dividend after 12, then repeat: 120 / 40

Going ahead to step 5:
The number 40 fits into 120 3 times, leaving a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 1413.0
Deduct 120 from 120 and we're left with 0.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 40

On to step 6:
40 goes into 8 0 times with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 14130.0
Subtract 0 from 8 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 7:
If we divide 80 by 40, we get 2 and a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 14130.2
Subtracting 80 from 80 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.

On to step 8:
40 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 14130.2
If we take 0 away from 0, we end up 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.

Step 9:
40 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 14130.2
If we take 0 away from 0, we end up 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.

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