We're dividing 40321724 by 479 
The aim is to understand the frequency of 479 in 40321724.

Going ahead to step 1:
If we divide 4 by 479, we get 0 and a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 479

On to step 2:
479 can be fit into 40 0 times, resulting in a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Append the next digit (3) from the dividend to 40 and continue with: 403 / 479

Going ahead to step 3:
If we divide 403 by 479, we get 0 and a remainder of 403.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 403, we end up with 403.
Append the next digit (2) from the dividend to 403 and continue with: 4032 / 479

Going ahead to step 4:
4032 divided by 479 is 8 with a remainder of 200.
Write down 8 as next digit of the result. 
Result so far: 8.0
Subtract 3832 from 4032 to get 200.
Grab the next digit (1) from the dividend, add it to 200, then carry on: 2001 / 479

On to step 5:
479 goes into 2001 4 times with a remainder of 85.
Record the quotient 4 as the next digit in the result. 
Result so far: 84.0
If we subtract 1916 from 2001, we get 85.
Bring next digit (7) of the dividend behind the 85 and repeat the process: 857 / 479

Let's proceed to step 6:
The number 479 fits into 857 1 times, leaving a remainder of 378.
The next digit of our result is 1. 
Result so far: 841.0
If we take 479 away from 857, we end up with 378.
Bring next digit (2) of the dividend behind the 378 and repeat the process: 3782 / 479

Let's proceed to step 7:
479 goes into 3782 7 times with a remainder of 429.
Put 7 as the next digit of the answer. 
Result so far: 8417.0
If we take 3353 away from 3782, we end up with 429.
Grab the next digit (4) from the dividend, add it to 429, then carry on: 4294 / 479

Advancing to step 8:
When dividing 4294 by 479, we get 8 with a remainder of 462.
The number 8 becomes the next digit in our result. 
Result so far: 84178.0
Deduct 3832 from 4294 and we're left with 462.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4620, and continue the process.

Moving on to step 9:
If we divide 4620 by 479, we get 9 and a remainder of 309.
Write down 9 as next digit of the result. 
Result so far: 84178.9
If we take 4311 away from 4620, we end up with 309.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3090, and continue the process.

On to step 10:
3090 divided by 479 is 6 with a remainder of 216.
Write down 6 as next digit of the result. 
Result so far: 84178.96
If we subtract 2874 from 3090, we get 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Moving on to step 11:
The number 479 fits into 2160 4 times, leaving a remainder of 244.
The next digit of our result is 4. 
Result so far: 84178.964
If we take 1916 away from 2160, we end up with 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

On to step 12:
479 can be fit into 2440 5 times, resulting in a remainder of 45.
Write down 5 as next digit of the result. 
Result so far: 84178.9645
Subtracting 2395 from 2440 leaves us with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

On to step 13:
If we divide 450 by 479, we get 0 and a remainder of 450.
Write down 0 as next digit of the result. 
Result so far: 84178.9645
Subtract 0 from 450 to get 450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4500, and continue the process.

Going ahead to step 14:
479 goes into 4500 9 times with a remainder of 189.
Put 9 as the next digit of the answer. 
Result so far: 84178.964509
Subtract 4311 from 4500 to get 189.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1890, and continue the process.

Moving on to step 15:
The number 479 fits into 1890 3 times, leaving a remainder of 453.
The number 3 becomes the next digit in our result. 
Result so far: 84178.9645093
Deduct 1437 from 1890 and we're left with 453.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4530, and continue the process.

Step 16:
The number 479 fits into 4530 9 times, leaving a remainder of 219.
The number 9 becomes the next digit in our result. 
Result so far: 84178.96450939
If we take 4311 away from 4530, we end up with 219.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2190, and continue the process.

Our division results in 84178.96450939 with a remaining 2.19e-07.