We look at the division of 180424 by 40 
The aim is to understand the frequency of 40 in 180424.

Moving on to step 1:
40 can be fit into 1 0 times, resulting in a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 40

On to step 2:
40 goes into 18 0 times with a remainder of 18.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 18 to get 18.
Take the next digit (0) from the dividend and append it to 18, then repeat: 180 / 40

Going ahead to step 3:
If we divide 180 by 40, we get 4 and a remainder of 20.
The next digit of our result is 4. 
Result so far: 4.0
If we take 160 away from 180, we end up with 20.
Grab the next digit (4) from the dividend, add it to 20, then carry on: 204 / 40

Going ahead to step 4:
The number 40 fits into 204 5 times, leaving a remainder of 4.
Write down 5 as next digit of the result. 
Result so far: 45.0
Subtracting 200 from 204 leaves us with 4.
Fetch the next digit (2) from the dividend, attach it to 4 and continue: 42 / 40

On to step 5:
40 goes into 42 1 times with a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 451.0
If we take 40 away from 42, we end up with 2.
Include the next digit (4) from the dividend after 2, then repeat: 24 / 40

Step 6:
24 divided by 40 is 0 with a remainder of 24.
The number 0 becomes the next digit in our result. 
Result so far: 4510.0
If we subtract 0 from 24, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 7:
240 divided by 40 is 6 with a remainder of 0.
The number 6 becomes the next digit in our result. 
Result so far: 4510.6
If we take 240 away from 240, 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 8:
0 divided by 40 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 4510.6
Subtract 0 from 0 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.

On to step 9:
40 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 4510.6
The remainder is 0 after subtracting 0 from 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 final outcome is 4510.6, with a leftover of 0.0.