720145 divided by 40 
The aim is to understand the frequency of 40 in 720145.

Moving on to step 1:
If we divide 7 by 40, we get 0 and a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Take the next digit (2) from the dividend and append it to 7, then repeat: 72 / 40

Step 2:
The number 40 fits into 72 1 times, leaving a remainder of 32.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 40 from 72 leaves us with 32.
Bring next digit (0) of the dividend behind the 32 and repeat the process: 320 / 40

Moving on to step 3:
40 can be fit into 320 8 times, resulting in a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 18.0
If we take 320 away from 320, we end up with 0.
Append the next digit (1) from the dividend to 0 and continue with: 1 / 40

Let's proceed to step 4:
If we divide 1 by 40, we get 0 and a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 180.0
Subtract 0 from 1 to get 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 40

On to step 5:
The number 40 fits into 14 0 times, leaving a remainder of 14.
Record the quotient 0 as the next digit in the result. 
Result so far: 1800.0
The remainder is 14 after subtracting 0 from 14.
Fetch the next digit (5) from the dividend, attach it to 14 and continue: 145 / 40

Advancing to step 6:
When dividing 145 by 40, we get 3 with a remainder of 25.
Use 3 as the next digit of our solution. 
Result so far: 18003.0
If we take 120 away from 145, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 7:
When dividing 250 by 40, we get 6 with a remainder of 10.
Write down 6 as next digit of the result. 
Result so far: 18003.6
Subtract 240 from 250 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 8:
When dividing 100 by 40, we get 2 with a remainder of 20.
Record the quotient 2 as the next digit in the result. 
Result so far: 18003.62
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.

Let's proceed to step 9:
When dividing 200 by 40, we get 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 18003.625
Subtract 200 from 200 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.

Advancing to step 10:
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: 18003.625
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.

Let's proceed to step 11:
40 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 18003.625
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.

The final outcome is 18003.625, with a leftover of 0.0.