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

Advancing to step 1:
The number 40 fits into 8 0 times, leaving a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Take the next digit (5) from the dividend and append it to 8, then repeat: 85 / 40

Advancing to step 2:
When dividing 85 by 40, we get 2 with a remainder of 5.
The next digit of our result is 2. 
Result so far: 2.0
If we subtract 80 from 85, we get 5.
Fetch the next digit (9) from the dividend, attach it to 5 and continue: 59 / 40

Going ahead to step 3:
The number 40 fits into 59 1 times, leaving a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 21.0
If we take 40 away from 59, we end up with 19.
Bring next digit (8) of the dividend behind the 19 and repeat the process: 198 / 40

On to step 4:
The number 40 fits into 198 4 times, leaving a remainder of 38.
The next digit of our result is 4. 
Result so far: 214.0
Subtracting 160 from 198 leaves us with 38.
Take the next digit (9) from the dividend and append it to 38, then repeat: 389 / 40

On to step 5:
The number 40 fits into 389 9 times, leaving a remainder of 29.
Write down 9 as next digit of the result. 
Result so far: 2149.0
Deduct 360 from 389 and we're left with 29.
Take the next digit (2) from the dividend and append it to 29, then repeat: 292 / 40

Advancing to step 6:
40 can be fit into 292 7 times, resulting in a remainder of 12.
Use 7 as the next digit of our solution. 
Result so far: 21497.0
Subtracting 280 from 292 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 7:
40 goes into 120 3 times with a remainder of 0.
The number 3 becomes the next digit in our result. 
Result so far: 21497.3
Deduct 120 from 120 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 8:
If we divide 0 by 40, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 21497.3
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.

Let's proceed to step 9:
0 divided by 40 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 21497.3
Deduct 0 from 0 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.

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