We're dividing 116015 by 40 
The aim is to understand the frequency of 40 in 116015.

Let's proceed to step 1:
The number 40 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 40

Moving on to step 2:
When dividing 11 by 40, we get 0 with a remainder of 11.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 11, we get 11.
Include the next digit (6) from the dividend after 11, then repeat: 116 / 40

Advancing to step 3:
40 goes into 116 2 times with a remainder of 36.
Write down 2 as next digit of the result. 
Result so far: 2.0
Deduct 80 from 116 and we're left with 36.
Grab the next digit (0) from the dividend, add it to 36, then carry on: 360 / 40

Moving on to step 4:
40 can be fit into 360 9 times, resulting in a remainder of 0.
Write down 9 as next digit of the result. 
Result so far: 29.0
Subtract 360 from 360 to get 0.
Include the next digit (1) from the dividend after 0, then repeat: 1 / 40

Moving on to step 5:
40 goes into 1 0 times with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 290.0
If we subtract 0 from 1, we get 1.
Bring next digit (5) of the dividend behind the 1 and repeat the process: 15 / 40

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

Going ahead to step 7:
When dividing 150 by 40, we get 3 with a remainder of 30.
Record the quotient 3 as the next digit in the result. 
Result so far: 2900.3
Deduct 120 from 150 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 8:
If we divide 300 by 40, we get 7 and a remainder of 20.
The number 7 becomes the next digit in our result. 
Result so far: 2900.37
Deduct 280 from 300 and we're left 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.

Let's proceed to step 9:
The number 40 fits into 200 5 times, leaving a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 2900.375
If we subtract 200 from 200, 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.

On to step 10:
40 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 2900.375
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.

Step 11:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 2900.375
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.

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