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

Moving on to step 1:
40 can be fit into 1 0 times, resulting in a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Take the next digit (1) from the dividend and append it to 1, then repeat: 11 / 40

Advancing to step 2:
40 can be fit into 11 0 times, resulting in a remainder of 11.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 11 after subtracting 0 from 11.
Fetch the next digit (3) from the dividend, attach it to 11 and continue: 113 / 40

Going ahead to step 3:
The number 40 fits into 113 2 times, leaving a remainder of 33.
Write down 2 as next digit of the result. 
Result so far: 2.0
Deduct 80 from 113 and we're left with 33.
Append the next digit (3) from the dividend to 33 and continue with: 333 / 40

Going ahead to step 4:
40 can be fit into 333 8 times, resulting in a remainder of 13.
Use 8 as the next digit of our solution. 
Result so far: 28.0
Deduct 320 from 333 and we're left with 13.
Fetch the next digit (4) from the dividend, attach it to 13 and continue: 134 / 40

Step 5:
The number 40 fits into 134 3 times, leaving a remainder of 14.
Record the quotient 3 as the next digit in the result. 
Result so far: 283.0
If we take 120 away from 134, we end up with 14.
Fetch the next digit (5) from the dividend, attach it to 14 and continue: 145 / 40

Advancing to step 6:
145 divided by 40 is 3 with a remainder of 25.
The number 3 becomes the next digit in our result. 
Result so far: 2833.0
Subtracting 120 from 145 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 7:
250 divided by 40 is 6 with a remainder of 10.
Use 6 as the next digit of our solution. 
Result so far: 2833.6
Subtract 240 from 250 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
When dividing 100 by 40, we get 2 with a remainder of 20.
The next digit of our result is 2. 
Result so far: 2833.62
The remainder is 20 after subtracting 80 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 9:
200 divided by 40 is 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 2833.625
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 10:
0 divided by 40 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 2833.625
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:
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: 2833.625
If we take 0 away from 0, we end up 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.

After the division, we end up with 2833.625 and a remainder of 0.0.