We look at the division of 40062679 by 478 
The aim is to understand the frequency of 478 in 40062679.

On to step 1:
The number 478 fits into 4 0 times, leaving a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 478

Going ahead to step 2:
The number 478 fits into 40 0 times, leaving a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Include the next digit (0) from the dividend after 40, then repeat: 400 / 478

Going ahead to step 3:
If we divide 400 by 478, we get 0 and a remainder of 400.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 400 to get 400.
Grab the next digit (6) from the dividend, add it to 400, then carry on: 4006 / 478

Let's proceed to step 4:
478 goes into 4006 8 times with a remainder of 182.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
Subtracting 3824 from 4006 leaves us with 182.
Take the next digit (2) from the dividend and append it to 182, then repeat: 1822 / 478

Let's proceed to step 5:
478 goes into 1822 3 times with a remainder of 388.
Record the quotient 3 as the next digit in the result. 
Result so far: 83.0
If we take 1434 away from 1822, we end up with 388.
Grab the next digit (6) from the dividend, add it to 388, then carry on: 3886 / 478

Let's proceed to step 6:
3886 divided by 478 is 8 with a remainder of 62.
The number 8 becomes the next digit in our result. 
Result so far: 838.0
Subtract 3824 from 3886 to get 62.
Include the next digit (7) from the dividend after 62, then repeat: 627 / 478

Step 7:
478 can be fit into 627 1 times, resulting in a remainder of 149.
Use 1 as the next digit of our solution. 
Result so far: 8381.0
Deduct 478 from 627 and we're left with 149.
Append the next digit (9) from the dividend to 149 and continue with: 1499 / 478

Let's proceed to step 8:
When dividing 1499 by 478, we get 3 with a remainder of 65.
Write down 3 as next digit of the result. 
Result so far: 83813.0
Subtracting 1434 from 1499 leaves us with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Let's proceed to step 9:
478 can be fit into 650 1 times, resulting in a remainder of 172.
Record the quotient 1 as the next digit in the result. 
Result so far: 83813.1
Deduct 478 from 650 and we're left with 172.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1720, and continue the process.

Moving on to step 10:
478 goes into 1720 3 times with a remainder of 286.
Record the quotient 3 as the next digit in the result. 
Result so far: 83813.13
Subtracting 1434 from 1720 leaves us with 286.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2860, and continue the process.

Let's proceed to step 11:
2860 divided by 478 is 5 with a remainder of 470.
The number 5 becomes the next digit in our result. 
Result so far: 83813.135
The remainder is 470 after subtracting 2390 from 2860.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4700, and continue the process.

Going ahead to step 12:
If we divide 4700 by 478, we get 9 and a remainder of 398.
The number 9 becomes the next digit in our result. 
Result so far: 83813.1359
Subtracting 4302 from 4700 leaves us with 398.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3980, and continue the process.

Step 13:
If we divide 3980 by 478, we get 8 and a remainder of 156.
Write down 8 as next digit of the result. 
Result so far: 83813.13598
The remainder is 156 after subtracting 3824 from 3980.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

Moving on to step 14:
If we divide 1560 by 478, we get 3 and a remainder of 126.
Use 3 as the next digit of our solution. 
Result so far: 83813.135983
Subtracting 1434 from 1560 leaves us with 126.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1260, and continue the process.

On to step 15:
1260 divided by 478 is 2 with a remainder of 304.
Write down 2 as next digit of the result. 
Result so far: 83813.1359832
If we take 956 away from 1260, we end up with 304.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

Let's proceed to step 16:
If we divide 3040 by 478, we get 6 and a remainder of 172.
The next digit of our result is 6. 
Result so far: 83813.13598326
If we take 2868 away from 3040, we end up with 172.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1720, and continue the process.

The final outcome is 83813.13598326, with a leftover of 1.72e-07.