Let's divide 982556 by 40
The aim is to understand the frequency of 40 in 982556.

On to step 1:
9 divided by 40 is 0 with a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 40

Moving on to step 2:
40 can be fit into 98 2 times, resulting in a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Deduct 80 from 98 and we're left with 18.
Bring next digit (2) of the dividend behind the 18 and repeat the process: 182 / 40

Advancing to step 3:
When dividing 182 by 40, we get 4 with a remainder of 22.
Write down 4 as next digit of the result. 
Result so far: 24.0
Subtracting 160 from 182 leaves us with 22.
Grab the next digit (5) from the dividend, add it to 22, then carry on: 225 / 40

Step 4:
When dividing 225 by 40, we get 5 with a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 245.0
Deduct 200 from 225 and we're left with 25.
Include the next digit (5) from the dividend after 25, then repeat: 255 / 40

Step 5:
The number 40 fits into 255 6 times, leaving a remainder of 15.
Write down 6 as next digit of the result. 
Result so far: 2456.0
Subtract 240 from 255 to get 15.
Bring next digit (6) of the dividend behind the 15 and repeat the process: 156 / 40

Moving on to step 6:
40 goes into 156 3 times with a remainder of 36.
Write down 3 as next digit of the result. 
Result so far: 24563.0
Deduct 120 from 156 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 7:
360 divided by 40 is 9 with a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 24563.9
If we subtract 360 from 360, 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.

Step 8:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 24563.9
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 9:
If we divide 0 by 40, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 24563.9
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 24563.9 with a balance of 0.0.