673680 ÷ 40 
The aim is to understand the frequency of 40 in 673680.

On to step 1:
6 divided by 40 is 0 with a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Fetch the next digit (7) from the dividend, attach it to 6 and continue: 67 / 40

Going ahead to step 2:
The number 40 fits into 67 1 times, leaving a remainder of 27.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 40 from 67, we get 27.
Fetch the next digit (3) from the dividend, attach it to 27 and continue: 273 / 40

Moving on to step 3:
If we divide 273 by 40, we get 6 and a remainder of 33.
Put 6 as the next digit of the answer. 
Result so far: 16.0
Subtracting 240 from 273 leaves us with 33.
Append the next digit (6) from the dividend to 33 and continue with: 336 / 40

Going ahead to step 4:
336 divided by 40 is 8 with a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 168.0
Subtracting 320 from 336 leaves us with 16.
Include the next digit (8) from the dividend after 16, then repeat: 168 / 40

Moving on to step 5:
If we divide 168 by 40, we get 4 and a remainder of 8.
The next digit of our result is 4. 
Result so far: 1684.0
Subtract 160 from 168 to get 8.
Grab the next digit (0) from the dividend, add it to 8, then carry on: 80 / 40

Let's proceed to step 6:
When dividing 80 by 40, we get 2 with a remainder of 0.
The next digit of our result is 2. 
Result so far: 16842.0
The remainder is 0 after subtracting 80 from 80.
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 7:
0 divided by 40 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 16842.0
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.

On to step 8:
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: 16842.0
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 16842.0, and the remainder is 0.0.