We look at the division of 18735820 by 334 
The aim is to understand the frequency of 334 in 18735820.

Step 1:
The number 334 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 334

Let's proceed to step 2:
334 goes into 18 0 times with a remainder of 18.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 18, we end up with 18.
Bring next digit (7) of the dividend behind the 18 and repeat the process: 187 / 334

Step 3:
The number 334 fits into 187 0 times, leaving a remainder of 187.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 187 to get 187.
Grab the next digit (3) from the dividend, add it to 187, then carry on: 1873 / 334

Moving on to step 4:
334 goes into 1873 5 times with a remainder of 203.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Deduct 1670 from 1873 and we're left with 203.
Take the next digit (5) from the dividend and append it to 203, then repeat: 2035 / 334

Going ahead to step 5:
334 goes into 2035 6 times with a remainder of 31.
The number 6 becomes the next digit in our result. 
Result so far: 56.0
Deduct 2004 from 2035 and we're left with 31.
Bring next digit (8) of the dividend behind the 31 and repeat the process: 318 / 334

Let's proceed to step 6:
The number 334 fits into 318 0 times, leaving a remainder of 318.
Record the quotient 0 as the next digit in the result. 
Result so far: 560.0
If we subtract 0 from 318, we get 318.
Fetch the next digit (2) from the dividend, attach it to 318 and continue: 3182 / 334

Advancing to step 7:
When dividing 3182 by 334, we get 9 with a remainder of 176.
Put 9 as the next digit of the answer. 
Result so far: 5609.0
The remainder is 176 after subtracting 3006 from 3182.
Fetch the next digit (0) from the dividend, attach it to 176 and continue: 1760 / 334

On to step 8:
334 goes into 1760 5 times with a remainder of 90.
The next digit of our result is 5. 
Result so far: 56095.0
If we take 1670 away from 1760, we end up with 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Going ahead to step 9:
900 divided by 334 is 2 with a remainder of 232.
Use 2 as the next digit of our solution. 
Result so far: 56095.2
Deduct 668 from 900 and we're left with 232.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2320, and continue the process.

Moving on to step 10:
When dividing 2320 by 334, we get 6 with a remainder of 316.
The number 6 becomes the next digit in our result. 
Result so far: 56095.26
Deduct 2004 from 2320 and we're left with 316.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3160, and continue the process.

Advancing to step 11:
If we divide 3160 by 334, we get 9 and a remainder of 154.
Write down 9 as next digit of the result. 
Result so far: 56095.269
Subtract 3006 from 3160 to get 154.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

Let's proceed to step 12:
The number 334 fits into 1540 4 times, leaving a remainder of 204.
Record the quotient 4 as the next digit in the result. 
Result so far: 56095.2694
Deduct 1336 from 1540 and we're left with 204.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

Let's proceed to step 13:
2040 divided by 334 is 6 with a remainder of 36.
The next digit of our result is 6. 
Result so far: 56095.26946
If we take 2004 away from 2040, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 14:
When dividing 360 by 334, we get 1 with a remainder of 26.
Write down 1 as next digit of the result. 
Result so far: 56095.269461
Subtract 334 from 360 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 15:
334 can be fit into 260 0 times, resulting in a remainder of 260.
Use 0 as the next digit of our solution. 
Result so far: 56095.269461
The remainder is 260 after subtracting 0 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Going ahead to step 16:
The number 334 fits into 2600 7 times, leaving a remainder of 262.
The next digit of our result is 7. 
Result so far: 56095.26946107
Subtracting 2338 from 2600 leaves us with 262.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2620, and continue the process.

The final result is 56095.26946107 with a remainder of 2.62e-07.