We look at the division of 16670895 by 642 
The aim is to understand the frequency of 642 in 16670895.

Going ahead to step 1:
642 goes into 1 0 times with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 642

Going ahead to step 2:
642 goes into 16 0 times with a remainder of 16.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 16 leaves us with 16.
Bring next digit (6) of the dividend behind the 16 and repeat the process: 166 / 642

Step 3:
166 divided by 642 is 0 with a remainder of 166.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 166, we get 166.
Take the next digit (7) from the dividend and append it to 166, then repeat: 1667 / 642

Step 4:
642 goes into 1667 2 times with a remainder of 383.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 1284 from 1667 leaves us with 383.
Append the next digit (0) from the dividend to 383 and continue with: 3830 / 642

Advancing to step 5:
The number 642 fits into 3830 5 times, leaving a remainder of 620.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.0
If we subtract 3210 from 3830, we get 620.
Append the next digit (8) from the dividend to 620 and continue with: 6208 / 642

Step 6:
642 goes into 6208 9 times with a remainder of 430.
The number 9 becomes the next digit in our result. 
Result so far: 259.0
Subtracting 5778 from 6208 leaves us with 430.
Bring next digit (9) of the dividend behind the 430 and repeat the process: 4309 / 642

Moving on to step 7:
642 goes into 4309 6 times with a remainder of 457.
Write down 6 as next digit of the result. 
Result so far: 2596.0
If we take 3852 away from 4309, we end up with 457.
Grab the next digit (5) from the dividend, add it to 457, then carry on: 4575 / 642

Let's proceed to step 8:
642 goes into 4575 7 times with a remainder of 81.
Write down 7 as next digit of the result. 
Result so far: 25967.0
Deduct 4494 from 4575 and we're left with 81.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

Going ahead to step 9:
If we divide 810 by 642, we get 1 and a remainder of 168.
Write down 1 as next digit of the result. 
Result so far: 25967.1
Deduct 642 from 810 and we're left with 168.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1680, and continue the process.

Going ahead to step 10:
642 goes into 1680 2 times with a remainder of 396.
Use 2 as the next digit of our solution. 
Result so far: 25967.12
Subtract 1284 from 1680 to get 396.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3960, and continue the process.

Going ahead to step 11:
The number 642 fits into 3960 6 times, leaving a remainder of 108.
Use 6 as the next digit of our solution. 
Result so far: 25967.126
If we subtract 3852 from 3960, we get 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Step 12:
When dividing 1080 by 642, we get 1 with a remainder of 438.
Put 1 as the next digit of the answer. 
Result so far: 25967.1261
If we take 642 away from 1080, we end up with 438.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4380, and continue the process.

Moving on to step 13:
When dividing 4380 by 642, we get 6 with a remainder of 528.
Use 6 as the next digit of our solution. 
Result so far: 25967.12616
Subtract 3852 from 4380 to get 528.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5280, and continue the process.

Let's proceed to step 14:
The number 642 fits into 5280 8 times, leaving a remainder of 144.
Write down 8 as next digit of the result. 
Result so far: 25967.126168
Deduct 5136 from 5280 and we're left with 144.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1440, and continue the process.

Let's proceed to step 15:
The number 642 fits into 1440 2 times, leaving a remainder of 156.
The next digit of our result is 2. 
Result so far: 25967.1261682
If we take 1284 away from 1440, we end up with 156.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

Going ahead to step 16:
When dividing 1560 by 642, we get 2 with a remainder of 276.
Use 2 as the next digit of our solution. 
Result so far: 25967.12616822
Subtracting 1284 from 1560 leaves us with 276.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2760, and continue the process.

Our division results in 25967.12616822 with a remaining 2.76e-07.