We're dividing 659672 by 40 
Let's see how many times 40 fits into 659672.

Let's proceed to step 1:
6 divided by 40 is 0 with a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Include the next digit (5) from the dividend after 6, then repeat: 65 / 40

Going ahead to step 2:
65 divided by 40 is 1 with a remainder of 25.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 25 after subtracting 40 from 65.
Fetch the next digit (9) from the dividend, attach it to 25 and continue: 259 / 40

Step 3:
259 divided by 40 is 6 with a remainder of 19.
Put 6 as the next digit of the answer. 
Result so far: 16.0
If we take 240 away from 259, we end up with 19.
Include the next digit (6) from the dividend after 19, then repeat: 196 / 40

Going ahead to step 4:
40 can be fit into 196 4 times, resulting in a remainder of 36.
Write down 4 as next digit of the result. 
Result so far: 164.0
Subtract 160 from 196 to get 36.
Bring next digit (7) of the dividend behind the 36 and repeat the process: 367 / 40

Going ahead to step 5:
40 can be fit into 367 9 times, resulting in a remainder of 7.
Use 9 as the next digit of our solution. 
Result so far: 1649.0
If we subtract 360 from 367, we get 7.
Take the next digit (2) from the dividend and append it to 7, then repeat: 72 / 40

Step 6:
When dividing 72 by 40, we get 1 with a remainder of 32.
Use 1 as the next digit of our solution. 
Result so far: 16491.0
Subtract 40 from 72 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 7:
If we divide 320 by 40, we get 8 and a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 16491.8
Subtract 320 from 320 to 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.

Step 8:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 16491.8
Deduct 0 from 0 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.

Advancing to step 9:
40 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 16491.8
Deduct 0 from 0 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.

The quotient of the division is 16491.8, and the remainder is 0.0.