We look at the division of 1870184 by 417 
The aim is to understand the frequency of 417 in 1870184.

On to step 1:
When dividing 1 by 417, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 417

Going ahead to step 2:
When dividing 18 by 417, we get 0 with a remainder of 18.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 18 leaves us with 18.
Take the next digit (7) from the dividend and append it to 18, then repeat: 187 / 417

Step 3:
417 goes into 187 0 times with a remainder of 187.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 187, we get 187.
Fetch the next digit (0) from the dividend, attach it to 187 and continue: 1870 / 417

Step 4:
1870 divided by 417 is 4 with a remainder of 202.
Use 4 as the next digit of our solution. 
Result so far: 4.0
If we subtract 1668 from 1870, we get 202.
Append the next digit (1) from the dividend to 202 and continue with: 2021 / 417

On to step 5:
2021 divided by 417 is 4 with a remainder of 353.
Use 4 as the next digit of our solution. 
Result so far: 44.0
Subtract 1668 from 2021 to get 353.
Append the next digit (8) from the dividend to 353 and continue with: 3538 / 417

Advancing to step 6:
The number 417 fits into 3538 8 times, leaving a remainder of 202.
The number 8 becomes the next digit in our result. 
Result so far: 448.0
Subtract 3336 from 3538 to get 202.
Fetch the next digit (4) from the dividend, attach it to 202 and continue: 2024 / 417

Let's proceed to step 7:
If we divide 2024 by 417, we get 4 and a remainder of 356.
Put 4 as the next digit of the answer. 
Result so far: 4484.0
If we subtract 1668 from 2024, we get 356.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3560, and continue the process.

Step 8:
3560 divided by 417 is 8 with a remainder of 224.
The next digit of our result is 8. 
Result so far: 4484.8
If we subtract 3336 from 3560, we get 224.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2240, and continue the process.

Let's proceed to step 9:
The number 417 fits into 2240 5 times, leaving a remainder of 155.
Put 5 as the next digit of the answer. 
Result so far: 4484.85
Subtract 2085 from 2240 to get 155.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1550, and continue the process.

Moving on to step 10:
When dividing 1550 by 417, we get 3 with a remainder of 299.
The number 3 becomes the next digit in our result. 
Result so far: 4484.853
The remainder is 299 after subtracting 1251 from 1550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2990, and continue the process.

Going ahead to step 11:
If we divide 2990 by 417, we get 7 and a remainder of 71.
Write down 7 as next digit of the result. 
Result so far: 4484.8537
If we subtract 2919 from 2990, we get 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Step 12:
The number 417 fits into 710 1 times, leaving a remainder of 293.
The number 1 becomes the next digit in our result. 
Result so far: 4484.85371
If we take 417 away from 710, we end up with 293.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2930, and continue the process.

Going ahead to step 13:
2930 divided by 417 is 7 with a remainder of 11.
Record the quotient 7 as the next digit in the result. 
Result so far: 4484.853717
Deduct 2919 from 2930 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 14:
When dividing 110 by 417, we get 0 with a remainder of 110.
The next digit of our result is 0. 
Result so far: 4484.853717
Deduct 0 from 110 and we're left with 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

On to step 15:
1100 divided by 417 is 2 with a remainder of 266.
Put 2 as the next digit of the answer. 
Result so far: 4484.85371702
If we subtract 834 from 1100, we get 266.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2660, and continue the process.

Our division results in 4484.85371702 with a remaining 2.66e-07.