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

Let's proceed to step 1:
The number 40 fits into 9 0 times, leaving a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Take the next digit (1) from the dividend and append it to 9, then repeat: 91 / 40

Let's proceed to step 2:
If we divide 91 by 40, we get 2 and a remainder of 11.
The next digit of our result is 2. 
Result so far: 2.0
If we subtract 80 from 91, we get 11.
Grab the next digit (5) from the dividend, add it to 11, then carry on: 115 / 40

Advancing to step 3:
115 divided by 40 is 2 with a remainder of 35.
Use 2 as the next digit of our solution. 
Result so far: 22.0
Deduct 80 from 115 and we're left with 35.
Append the next digit (5) from the dividend to 35 and continue with: 355 / 40

Let's proceed to step 4:
The number 40 fits into 355 8 times, leaving a remainder of 35.
Record the quotient 8 as the next digit in the result. 
Result so far: 228.0
If we subtract 320 from 355, we get 35.
Fetch the next digit (1) from the dividend, attach it to 35 and continue: 351 / 40

Step 5:
When dividing 351 by 40, we get 8 with a remainder of 31.
Use 8 as the next digit of our solution. 
Result so far: 2288.0
Subtracting 320 from 351 leaves us with 31.
Append the next digit (8) from the dividend to 31 and continue with: 318 / 40

On to step 6:
The number 40 fits into 318 7 times, leaving a remainder of 38.
Record the quotient 7 as the next digit in the result. 
Result so far: 22887.0
If we take 280 away from 318, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 7:
The number 40 fits into 380 9 times, leaving a remainder of 20.
Record the quotient 9 as the next digit in the result. 
Result so far: 22887.9
If we take 360 away from 380, 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.

On to step 8:
40 goes into 200 5 times with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 22887.95
Deduct 200 from 200 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 9:
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: 22887.95
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.

Step 10:
40 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 22887.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.

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