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

Going ahead to step 1:
40 goes into 8 0 times with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Append the next digit (8) from the dividend to 8 and continue with: 88 / 40

Going ahead to step 2:
If we divide 88 by 40, we get 2 and a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 80 from 88, we get 8.
Append the next digit (8) from the dividend to 8 and continue with: 88 / 40

On to step 3:
88 divided by 40 is 2 with a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 22.0
The remainder is 8 after subtracting 80 from 88.
Grab the next digit (9) from the dividend, add it to 8, then carry on: 89 / 40

Going ahead to step 4:
40 can be fit into 89 2 times, resulting in a remainder of 9.
Record the quotient 2 as the next digit in the result. 
Result so far: 222.0
Subtracting 80 from 89 leaves us with 9.
Fetch the next digit (5) from the dividend, attach it to 9 and continue: 95 / 40

Going ahead to step 5:
The number 40 fits into 95 2 times, leaving a remainder of 15.
The number 2 becomes the next digit in our result. 
Result so far: 2222.0
Subtract 80 from 95 to get 15.
Take the next digit (8) from the dividend and append it to 15, then repeat: 158 / 40

Going ahead to step 6:
40 goes into 158 3 times with a remainder of 38.
Write down 3 as next digit of the result. 
Result so far: 22223.0
Subtract 120 from 158 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 7:
380 divided by 40 is 9 with a remainder of 20.
Record the quotient 9 as the next digit in the result. 
Result so far: 22223.9
The remainder is 20 after subtracting 360 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 8:
40 goes into 200 5 times with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 22223.95
Subtracting 200 from 200 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.

Step 9:
If we divide 0 by 40, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 22223.95
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.

Advancing to step 10:
0 divided by 40 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 22223.95
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.

In conclusion, the division gives 22223.95 with a balance of 0.0.