We're dividing 40090309 by 879 
The aim is to understand the frequency of 879 in 40090309.

Advancing to step 1:
879 goes into 4 0 times with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 879

Step 2:
879 can be fit into 40 0 times, resulting in a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Include the next digit (0) from the dividend after 40, then repeat: 400 / 879

Advancing to step 3:
When dividing 400 by 879, we get 0 with a remainder of 400.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 400 after subtracting 0 from 400.
Take the next digit (9) from the dividend and append it to 400, then repeat: 4009 / 879

Moving on to step 4:
4009 divided by 879 is 4 with a remainder of 493.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtract 3516 from 4009 to get 493.
Append the next digit (0) from the dividend to 493 and continue with: 4930 / 879

Moving on to step 5:
879 goes into 4930 5 times with a remainder of 535.
The number 5 becomes the next digit in our result. 
Result so far: 45.0
Deduct 4395 from 4930 and we're left with 535.
Grab the next digit (3) from the dividend, add it to 535, then carry on: 5353 / 879

Step 6:
879 can be fit into 5353 6 times, resulting in a remainder of 79.
The number 6 becomes the next digit in our result. 
Result so far: 456.0
If we take 5274 away from 5353, we end up with 79.
Include the next digit (0) from the dividend after 79, then repeat: 790 / 879

Going ahead to step 7:
879 goes into 790 0 times with a remainder of 790.
The number 0 becomes the next digit in our result. 
Result so far: 4560.0
Subtracting 0 from 790 leaves us with 790.
Fetch the next digit (9) from the dividend, attach it to 790 and continue: 7909 / 879

Moving on to step 8:
879 can be fit into 7909 8 times, resulting in a remainder of 877.
Put 8 as the next digit of the answer. 
Result so far: 45608.0
Deduct 7032 from 7909 and we're left with 877.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8770, and continue the process.

Advancing to step 9:
879 goes into 8770 9 times with a remainder of 859.
Put 9 as the next digit of the answer. 
Result so far: 45608.9
Subtracting 7911 from 8770 leaves us with 859.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8590, and continue the process.

Advancing to step 10:
8590 divided by 879 is 9 with a remainder of 679.
Record the quotient 9 as the next digit in the result. 
Result so far: 45608.99
If we take 7911 away from 8590, we end up with 679.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6790, and continue the process.

The quotient of the division is 45608.99, and the remainder is 0.679.