664972 ÷ 40 
Let's see how many times 40 fits into 664972.

On to step 1:
The number 40 fits into 6 0 times, leaving a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Include the next digit (6) from the dividend after 6, then repeat: 66 / 40

Step 2:
If we divide 66 by 40, we get 1 and a remainder of 26.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 40 from 66 to get 26.
Grab the next digit (4) from the dividend, add it to 26, then carry on: 264 / 40

Advancing to step 3:
If we divide 264 by 40, we get 6 and a remainder of 24.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
The remainder is 24 after subtracting 240 from 264.
Take the next digit (9) from the dividend and append it to 24, then repeat: 249 / 40

Advancing to step 4:
The number 40 fits into 249 6 times, leaving a remainder of 9.
Put 6 as the next digit of the answer. 
Result so far: 166.0
If we subtract 240 from 249, we get 9.
Append the next digit (7) from the dividend to 9 and continue with: 97 / 40

Going ahead to step 5:
40 goes into 97 2 times with a remainder of 17.
Record the quotient 2 as the next digit in the result. 
Result so far: 1662.0
The remainder is 17 after subtracting 80 from 97.
Append the next digit (2) from the dividend to 17 and continue with: 172 / 40

Step 6:
If we divide 172 by 40, we get 4 and a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 16624.0
If we take 160 away from 172, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 7:
When dividing 120 by 40, we get 3 with a remainder of 0.
The number 3 becomes the next digit in our result. 
Result so far: 16624.3
Deduct 120 from 120 and we're left 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.

Going ahead to step 8:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 16624.3
Subtracting 0 from 0 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.

Let's proceed to step 9:
If we divide 0 by 40, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 16624.3
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.

Our division results in 16624.3 with a remaining 0.0.