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

On to step 1:
When dividing 8 by 40, we get 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 40

Let's proceed to step 2:
When dividing 87 by 40, we get 2 with a remainder of 7.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 80 from 87 leaves us with 7.
Take the next digit (5) from the dividend and append it to 7, then repeat: 75 / 40

Let's proceed to step 3:
The number 40 fits into 75 1 times, leaving a remainder of 35.
The number 1 becomes the next digit in our result. 
Result so far: 21.0
Subtract 40 from 75 to get 35.
Include the next digit (3) from the dividend after 35, then repeat: 353 / 40

On to step 4:
If we divide 353 by 40, we get 8 and a remainder of 33.
The number 8 becomes the next digit in our result. 
Result so far: 218.0
The remainder is 33 after subtracting 320 from 353.
Take the next digit (3) from the dividend and append it to 33, then repeat: 333 / 40

Going ahead to step 5:
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: 2188.0
The remainder is 13 after subtracting 320 from 333.
Include the next digit (9) from the dividend after 13, then repeat: 139 / 40

Moving on to step 6:
40 can be fit into 139 3 times, resulting in a remainder of 19.
The next digit of our result is 3. 
Result so far: 21883.0
Deduct 120 from 139 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 7:
If we divide 190 by 40, we get 4 and a remainder of 30.
The next digit of our result is 4. 
Result so far: 21883.4
Subtracting 160 from 190 leaves us 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.

Step 8:
When dividing 300 by 40, we get 7 with a remainder of 20.
The next digit of our result is 7. 
Result so far: 21883.47
Subtract 280 from 300 to get 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 9:
If we divide 200 by 40, we get 5 and a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 21883.475
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.

Advancing to step 10:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 21883.475
If we subtract 0 from 0, 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.

Going ahead to step 11:
0 divided by 40 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 21883.475
If we subtract 0 from 0, 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.

Our division results in 21883.475 with a remaining 0.0.