We divide 843537 by 40
The aim is to understand the frequency of 40 in 843537.

On to step 1:
If we divide 8 by 40, we get 0 and a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Include the next digit (4) from the dividend after 8, then repeat: 84 / 40

On to step 2:
84 divided by 40 is 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 80 from 84 leaves us with 4.
Take the next digit (3) from the dividend and append it to 4, then repeat: 43 / 40

Going ahead to step 3:
If we divide 43 by 40, we get 1 and a remainder of 3.
The next digit of our result is 1. 
Result so far: 21.0
Subtracting 40 from 43 leaves us with 3.
Grab the next digit (5) from the dividend, add it to 3, then carry on: 35 / 40

Moving on to step 4:
40 can be fit into 35 0 times, resulting in a remainder of 35.
Put 0 as the next digit of the answer. 
Result so far: 210.0
Subtract 0 from 35 to get 35.
Append the next digit (3) from the dividend to 35 and continue with: 353 / 40

Advancing to step 5:
The number 40 fits into 353 8 times, leaving a remainder of 33.
The next digit of our result is 8. 
Result so far: 2108.0
If we take 320 away from 353, we end up with 33.
Grab the next digit (7) from the dividend, add it to 33, then carry on: 337 / 40

Going ahead to step 6:
The number 40 fits into 337 8 times, leaving a remainder of 17.
Put 8 as the next digit of the answer. 
Result so far: 21088.0
If we subtract 320 from 337, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 7:
40 can be fit into 170 4 times, resulting in a remainder of 10.
Record the quotient 4 as the next digit in the result. 
Result so far: 21088.4
If we take 160 away from 170, 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.

Moving on to step 8:
The number 40 fits into 100 2 times, leaving a remainder of 20.
Write down 2 as next digit of the result. 
Result so far: 21088.42
Subtracting 80 from 100 leaves us 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.
Put 5 as the next digit of the answer. 
Result so far: 21088.425
If we subtract 200 from 200, 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.

Let's proceed to step 10:
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: 21088.425
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.

Going ahead 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: 21088.425
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.

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