Let's divide 563102 by 40
We want to figure out the number of times 563102 can be divided by 40.

Moving on to step 1:
When dividing 5 by 40, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (6) from the dividend, add it to 5, then carry on: 56 / 40

Moving on to step 2:
40 goes into 56 1 times with a remainder of 16.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 40 from 56, we get 16.
Grab the next digit (3) from the dividend, add it to 16, then carry on: 163 / 40

Moving on to step 3:
The number 40 fits into 163 4 times, leaving a remainder of 3.
Use 4 as the next digit of our solution. 
Result so far: 14.0
Subtracting 160 from 163 leaves us with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 40

Let's proceed to step 4:
When dividing 31 by 40, we get 0 with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 140.0
If we subtract 0 from 31, we get 31.
Grab the next digit (0) from the dividend, add it to 31, then carry on: 310 / 40

Step 5:
When dividing 310 by 40, we get 7 with a remainder of 30.
Write down 7 as next digit of the result. 
Result so far: 1407.0
Subtracting 280 from 310 leaves us with 30.
Append the next digit (2) from the dividend to 30 and continue with: 302 / 40

Advancing to step 6:
40 goes into 302 7 times with a remainder of 22.
The next digit of our result is 7. 
Result so far: 14077.0
If we take 280 away from 302, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 7:
220 divided by 40 is 5 with a remainder of 20.
The number 5 becomes the next digit in our result. 
Result so far: 14077.5
Subtract 200 from 220 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.

Moving on to step 8:
When dividing 200 by 40, we get 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 14077.55
If we subtract 200 from 200, we 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 final result is 14077.55 with a remainder of 0.0.