We look at the division of 665675 by 40 
We're looking to find how many times 40 goes into 665675.

Advancing to step 1:
The number 40 fits into 6 0 times, leaving a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Take the next digit (6) from the dividend and append it to 6, then repeat: 66 / 40

Advancing to step 2:
The number 40 fits into 66 1 times, leaving a remainder of 26.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 40 from 66 and we're left with 26.
Bring next digit (5) of the dividend behind the 26 and repeat the process: 265 / 40

Step 3:
265 divided by 40 is 6 with a remainder of 25.
Use 6 as the next digit of our solution. 
Result so far: 16.0
If we take 240 away from 265, we end up with 25.
Bring next digit (6) of the dividend behind the 25 and repeat the process: 256 / 40

On to step 4:
The number 40 fits into 256 6 times, leaving a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 166.0
If we subtract 240 from 256, we get 16.
Grab the next digit (7) from the dividend, add it to 16, then carry on: 167 / 40

Let's proceed to step 5:
The number 40 fits into 167 4 times, leaving a remainder of 7.
The next digit of our result is 4. 
Result so far: 1664.0
Subtracting 160 from 167 leaves us with 7.
Bring next digit (5) of the dividend behind the 7 and repeat the process: 75 / 40

Moving on to step 6:
If we divide 75 by 40, we get 1 and a remainder of 35.
Use 1 as the next digit of our solution. 
Result so far: 16641.0
Deduct 40 from 75 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Moving on to step 7:
When dividing 350 by 40, we get 8 with a remainder of 30.
The number 8 becomes the next digit in our result. 
Result so far: 16641.8
Subtract 320 from 350 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.

Step 8:
If we divide 300 by 40, we get 7 and a remainder of 20.
The next digit of our result is 7. 
Result so far: 16641.87
If we subtract 280 from 300, we 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.

Advancing to step 9:
40 goes into 200 5 times with a remainder of 0.
The next digit of our result is 5. 
Result so far: 16641.875
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.

On to step 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 16641.875
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.

Moving on to step 11:
When dividing 0 by 40, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 16641.875
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.

Our division results in 16641.875 with a remaining 0.0.