We divide 766563 by 40
We're looking to find how many times 40 goes into 766563.

Going ahead to step 1:
7 divided by 40 is 0 with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Bring next digit (6) of the dividend behind the 7 and repeat the process: 76 / 40

Let's proceed to step 2:
76 divided by 40 is 1 with a remainder of 36.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 40 from 76 leaves us with 36.
Take the next digit (6) from the dividend and append it to 36, then repeat: 366 / 40

Step 3:
The number 40 fits into 366 9 times, leaving a remainder of 6.
Write down 9 as next digit of the result. 
Result so far: 19.0
The remainder is 6 after subtracting 360 from 366.
Append the next digit (5) from the dividend to 6 and continue with: 65 / 40

Advancing to step 4:
40 goes into 65 1 times with a remainder of 25.
Use 1 as the next digit of our solution. 
Result so far: 191.0
If we take 40 away from 65, we end up with 25.
Append the next digit (6) from the dividend to 25 and continue with: 256 / 40

Advancing to step 5:
40 can be fit into 256 6 times, resulting in a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 1916.0
If we subtract 240 from 256, we get 16.
Append the next digit (3) from the dividend to 16 and continue with: 163 / 40

Advancing to step 6:
If we divide 163 by 40, we get 4 and a remainder of 3.
Put 4 as the next digit of the answer. 
Result so far: 19164.0
The remainder is 3 after subtracting 160 from 163.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 7:
If we divide 30 by 40, we get 0 and a remainder of 30.
The next digit of our result is 0. 
Result so far: 19164.0
If we take 0 away from 30, we end up 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.

Going ahead to step 8:
300 divided by 40 is 7 with a remainder of 20.
The next digit of our result is 7. 
Result so far: 19164.07
Subtracting 280 from 300 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 9:
40 can be fit into 200 5 times, resulting in a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 19164.075
The remainder is 0 after subtracting 200 from 200.
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:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 19164.075
The remainder is 0 after subtracting 0 from 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 11:
0 divided by 40 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 19164.075
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 19164.075 and a remainder of 0.0.