We're dividing 752682 by 40 
The aim is to understand the frequency of 40 in 752682.

On to step 1:
7 divided by 40 is 0 with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Append the next digit (5) from the dividend to 7 and continue with: 75 / 40

Going ahead to step 2:
If we divide 75 by 40, we get 1 and a remainder of 35.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 40 from 75 to get 35.
Append the next digit (2) from the dividend to 35 and continue with: 352 / 40

On to step 3:
If we divide 352 by 40, we get 8 and a remainder of 32.
Write down 8 as next digit of the result. 
Result so far: 18.0
Subtract 320 from 352 to get 32.
Include the next digit (6) from the dividend after 32, then repeat: 326 / 40

Step 4:
When dividing 326 by 40, we get 8 with a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 188.0
If we take 320 away from 326, we end up with 6.
Take the next digit (8) from the dividend and append it to 6, then repeat: 68 / 40

On to step 5:
When dividing 68 by 40, we get 1 with a remainder of 28.
The next digit of our result is 1. 
Result so far: 1881.0
Subtracting 40 from 68 leaves us with 28.
Bring next digit (2) of the dividend behind the 28 and repeat the process: 282 / 40

Step 6:
40 can be fit into 282 7 times, resulting in a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 18817.0
The remainder is 2 after subtracting 280 from 282.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
The number 40 fits into 20 0 times, leaving a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 18817.0
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 8:
If we divide 200 by 40, we get 5 and a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 18817.05
Deduct 200 from 200 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 9:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 18817.05
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.

Going ahead to step 10:
40 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 18817.05
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.

After the division, we end up with 18817.05 and a remainder of 0.0.