We're dividing 565561 by 40 
Let's see how many times 40 fits into 565561.

Going ahead to step 1:
5 divided by 40 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Fetch the next digit (6) from the dividend, attach it to 5 and continue: 56 / 40

Going ahead to step 2:
If we divide 56 by 40, we get 1 and a remainder of 16.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 16 after subtracting 40 from 56.
Fetch the next digit (5) from the dividend, attach it to 16 and continue: 165 / 40

Let's proceed to step 3:
When dividing 165 by 40, we get 4 with a remainder of 5.
Use 4 as the next digit of our solution. 
Result so far: 14.0
Subtracting 160 from 165 leaves us with 5.
Include the next digit (5) from the dividend after 5, then repeat: 55 / 40

Advancing to step 4:
When dividing 55 by 40, we get 1 with a remainder of 15.
The number 1 becomes the next digit in our result. 
Result so far: 141.0
Subtracting 40 from 55 leaves us with 15.
Take the next digit (6) from the dividend and append it to 15, then repeat: 156 / 40

On to step 5:
40 goes into 156 3 times with a remainder of 36.
The next digit of our result is 3. 
Result so far: 1413.0
Subtracting 120 from 156 leaves us with 36.
Append the next digit (1) from the dividend to 36 and continue with: 361 / 40

Let's proceed to step 6:
When dividing 361 by 40, we get 9 with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 14139.0
If we take 360 away from 361, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 7:
The number 40 fits into 10 0 times, leaving a remainder of 10.
The next digit of our result is 0. 
Result so far: 14139.0
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 8:
40 can be fit into 100 2 times, resulting in a remainder of 20.
The number 2 becomes the next digit in our result. 
Result so far: 14139.02
The remainder is 20 after subtracting 80 from 100.
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:
When dividing 200 by 40, we get 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 14139.025
Subtracting 200 from 200 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.

Step 10:
0 divided by 40 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 14139.025
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.

Advancing to step 11:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 14139.025
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 final result is 14139.025 with a remainder of 0.0.