We divide 660838 by 40
Let's see how many times 40 fits into 660838.

Advancing to step 1:
40 goes into 6 0 times 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.
Bring next digit (6) of the dividend behind the 6 and repeat the process: 66 / 40

Moving on to step 2:
40 goes into 66 1 times with a remainder of 26.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 40 from 66 leaves us with 26.
Take the next digit (0) from the dividend and append it to 26, then repeat: 260 / 40

Moving on to step 3:
40 can be fit into 260 6 times, resulting in a remainder of 20.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
If we subtract 240 from 260, we get 20.
Append the next digit (8) from the dividend to 20 and continue with: 208 / 40

On to step 4:
40 can be fit into 208 5 times, resulting in a remainder of 8.
Write down 5 as next digit of the result. 
Result so far: 165.0
Subtracting 200 from 208 leaves us with 8.
Include the next digit (3) from the dividend after 8, then repeat: 83 / 40

On to step 5:
40 can be fit into 83 2 times, resulting in a remainder of 3.
Write down 2 as next digit of the result. 
Result so far: 1652.0
Deduct 80 from 83 and we're left with 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 40

On to step 6:
If we divide 38 by 40, we get 0 and a remainder of 38.
Record the quotient 0 as the next digit in the result. 
Result so far: 16520.0
If we take 0 away from 38, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Let's proceed to step 7:
380 divided by 40 is 9 with a remainder of 20.
Record the quotient 9 as the next digit in the result. 
Result so far: 16520.9
The remainder is 20 after subtracting 360 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 8:
The number 40 fits into 200 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 16520.95
If we take 200 away from 200, 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.

Step 9:
If we divide 0 by 40, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 16520.95
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.

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

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