We look at the division of 649767 by 40 
Our goal is to divide 649767 by 40.

Advancing to step 1:
When dividing 6 by 40, we get 0 with a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Take the next digit (4) from the dividend and append it to 6, then repeat: 64 / 40

Advancing to step 2:
64 divided by 40 is 1 with a remainder of 24.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 40 from 64 and we're left with 24.
Fetch the next digit (9) from the dividend, attach it to 24 and continue: 249 / 40

Advancing to step 3:
The number 40 fits into 249 6 times, leaving a remainder of 9.
The number 6 becomes the next digit in our result. 
Result so far: 16.0
The remainder is 9 after subtracting 240 from 249.
Take the next digit (7) from the dividend and append it to 9, then repeat: 97 / 40

Moving on to step 4:
97 divided by 40 is 2 with a remainder of 17.
Write down 2 as next digit of the result. 
Result so far: 162.0
Subtract 80 from 97 to get 17.
Fetch the next digit (6) from the dividend, attach it to 17 and continue: 176 / 40

Advancing to step 5:
176 divided by 40 is 4 with a remainder of 16.
The next digit of our result is 4. 
Result so far: 1624.0
If we take 160 away from 176, we end up with 16.
Include the next digit (7) from the dividend after 16, then repeat: 167 / 40

Going ahead to step 6:
The number 40 fits into 167 4 times, leaving a remainder of 7.
The number 4 becomes the next digit in our result. 
Result so far: 16244.0
Subtract 160 from 167 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 7:
The number 40 fits into 70 1 times, leaving a remainder of 30.
Record the quotient 1 as the next digit in the result. 
Result so far: 16244.1
Subtract 40 from 70 to get 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:
The number 40 fits into 300 7 times, leaving a remainder of 20.
Record the quotient 7 as the next digit in the result. 
Result so far: 16244.17
The remainder is 20 after subtracting 280 from 300.
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.
Write down 5 as next digit of the result. 
Result so far: 16244.175
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.

Let's proceed to step 10:
0 divided by 40 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 16244.175
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.

On to step 11:
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: 16244.175
If we subtract 0 from 0, 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.

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