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

Going ahead to step 1:
If we divide 7 by 40, we get 0 and a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Bring next digit (9) of the dividend behind the 7 and repeat the process: 79 / 40

Going ahead to step 2:
40 can be fit into 79 1 times, resulting in a remainder of 39.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 40 from 79 to get 39.
Bring next digit (2) of the dividend behind the 39 and repeat the process: 392 / 40

Step 3:
40 can be fit into 392 9 times, resulting in a remainder of 32.
The number 9 becomes the next digit in our result. 
Result so far: 19.0
Deduct 360 from 392 and we're left with 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: 198.0
If we take 320 away from 326, we end up with 6.
Append the next digit (2) from the dividend to 6 and continue with: 62 / 40

On to step 5:
When dividing 62 by 40, we get 1 with a remainder of 22.
The number 1 becomes the next digit in our result. 
Result so far: 1981.0
Subtracting 40 from 62 leaves us with 22.
Fetch the next digit (9) from the dividend, attach it to 22 and continue: 229 / 40

Let's proceed to step 6:
If we divide 229 by 40, we get 5 and a remainder of 29.
The number 5 becomes the next digit in our result. 
Result so far: 19815.0
Subtracting 200 from 229 leaves us with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Advancing to step 7:
The number 40 fits into 290 7 times, leaving a remainder of 10.
Write down 7 as next digit of the result. 
Result so far: 19815.7
If we take 280 away from 290, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 8:
The number 40 fits into 100 2 times, leaving a remainder of 20.
The next digit of our result is 2. 
Result so far: 19815.72
If we take 80 away from 100, we end up 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.

Advancing to step 9:
If we divide 200 by 40, we get 5 and a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 19815.725
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.

On to step 10:
40 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 19815.725
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 11:
If we divide 0 by 40, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 19815.725
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 19815.725 and a remainder of 0.0.