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

Step 1:
The number 40 fits into 1 0 times, leaving a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Take the next digit (1) from the dividend and append it to 1, then repeat: 11 / 40

Let's proceed to step 2:
If we divide 11 by 40, we get 0 and a remainder of 11.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 11 leaves us with 11.
Fetch the next digit (7) from the dividend, attach it to 11 and continue: 117 / 40

Let's proceed to step 3:
40 goes into 117 2 times with a remainder of 37.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 80 from 117 leaves us with 37.
Grab the next digit (9) from the dividend, add it to 37, then carry on: 379 / 40

On to step 4:
The number 40 fits into 379 9 times, leaving a remainder of 19.
The number 9 becomes the next digit in our result. 
Result so far: 29.0
Subtract 360 from 379 to get 19.
Append the next digit (0) from the dividend to 19 and continue with: 190 / 40

Moving on to step 5:
40 goes into 190 4 times with a remainder of 30.
The next digit of our result is 4. 
Result so far: 294.0
If we subtract 160 from 190, we get 30.
Fetch the next digit (7) from the dividend, attach it to 30 and continue: 307 / 40

On to step 6:
40 goes into 307 7 times with a remainder of 27.
Put 7 as the next digit of the answer. 
Result so far: 2947.0
If we take 280 away from 307, we end up with 27.
Bring next digit (3) of the dividend behind the 27 and repeat the process: 273 / 40

Step 7:
40 can be fit into 273 6 times, resulting in a remainder of 33.
The number 6 becomes the next digit in our result. 
Result so far: 29476.0
Subtracting 240 from 273 leaves us with 33.
Grab the next digit (3) from the dividend, add it to 33, then carry on: 333 / 40

Going ahead to step 8:
When dividing 333 by 40, we get 8 with a remainder of 13.
Use 8 as the next digit of our solution. 
Result so far: 294768.0
Subtracting 320 from 333 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 9:
40 goes into 130 3 times with a remainder of 10.
Record the quotient 3 as the next digit in the result. 
Result so far: 294768.3
If we take 120 away from 130, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 10:
When dividing 100 by 40, we get 2 with a remainder of 20.
The number 2 becomes the next digit in our result. 
Result so far: 294768.32
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.

Let's proceed to step 11:
The number 40 fits into 200 5 times, leaving a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 294768.325
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.

Let's proceed to step 12:
40 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 294768.325
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.

Going ahead to step 13:
0 divided by 40 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 294768.325
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.

Our division results in 294768.325 with a remaining 0.0.