We look at the division of 42167198 by 838 
The aim is to understand the frequency of 838 in 42167198.

Advancing to step 1:
If we divide 4 by 838, we get 0 and a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Take the next digit (2) from the dividend and append it to 4, then repeat: 42 / 838

Moving on to step 2:
The number 838 fits into 42 0 times, leaving a remainder of 42.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 42 after subtracting 0 from 42.
Append the next digit (1) from the dividend to 42 and continue with: 421 / 838

Step 3:
421 divided by 838 is 0 with a remainder of 421.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 421 and we're left with 421.
Append the next digit (6) from the dividend to 421 and continue with: 4216 / 838

Moving on to step 4:
When dividing 4216 by 838, we get 5 with a remainder of 26.
The next digit of our result is 5. 
Result so far: 5.0
Subtracting 4190 from 4216 leaves us with 26.
Take the next digit (7) from the dividend and append it to 26, then repeat: 267 / 838

Advancing to step 5:
When dividing 267 by 838, we get 0 with a remainder of 267.
Write down 0 as next digit of the result. 
Result so far: 50.0
If we take 0 away from 267, we end up with 267.
Bring next digit (1) of the dividend behind the 267 and repeat the process: 2671 / 838

Let's proceed to step 6:
838 goes into 2671 3 times with a remainder of 157.
Write down 3 as next digit of the result. 
Result so far: 503.0
If we subtract 2514 from 2671, we get 157.
Take the next digit (9) from the dividend and append it to 157, then repeat: 1579 / 838

Advancing to step 7:
838 can be fit into 1579 1 times, resulting in a remainder of 741.
Use 1 as the next digit of our solution. 
Result so far: 5031.0
Subtracting 838 from 1579 leaves us with 741.
Fetch the next digit (8) from the dividend, attach it to 741 and continue: 7418 / 838

Let's proceed to step 8:
The number 838 fits into 7418 8 times, leaving a remainder of 714.
Write down 8 as next digit of the result. 
Result so far: 50318.0
If we subtract 6704 from 7418, we get 714.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7140, and continue the process.

On to step 9:
When dividing 7140 by 838, we get 8 with a remainder of 436.
Write down 8 as next digit of the result. 
Result so far: 50318.8
The remainder is 436 after subtracting 6704 from 7140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4360, and continue the process.

Step 10:
838 can be fit into 4360 5 times, resulting in a remainder of 170.
Put 5 as the next digit of the answer. 
Result so far: 50318.85
Subtracting 4190 from 4360 leaves us with 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Step 11:
If we divide 1700 by 838, we get 2 and a remainder of 24.
Write down 2 as next digit of the result. 
Result so far: 50318.852
If we subtract 1676 from 1700, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 12:
838 can be fit into 240 0 times, resulting in a remainder of 240.
Write down 0 as next digit of the result. 
Result so far: 50318.852
Deduct 0 from 240 and we're left with 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Step 13:
The number 838 fits into 2400 2 times, leaving a remainder of 724.
Write down 2 as next digit of the result. 
Result so far: 50318.85202
Subtract 1676 from 2400 to get 724.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7240, and continue the process.

Moving on to step 14:
838 can be fit into 7240 8 times, resulting in a remainder of 536.
Record the quotient 8 as the next digit in the result. 
Result so far: 50318.852028
The remainder is 536 after subtracting 6704 from 7240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5360, and continue the process.

Going ahead to step 15:
838 can be fit into 5360 6 times, resulting in a remainder of 332.
Write down 6 as next digit of the result. 
Result so far: 50318.8520286
Deduct 5028 from 5360 and we're left with 332.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3320, and continue the process.

On to step 16:
If we divide 3320 by 838, we get 3 and a remainder of 806.
The next digit of our result is 3. 
Result so far: 50318.85202863
Subtract 2514 from 3320 to get 806.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8060, and continue the process.

In conclusion, the division gives 50318.85202863 with a balance of 8.06e-07.