We look at the division of 84851 by 38 
The aim is to understand the frequency of 38 in 84851.

On to step 1:
If we divide 8 by 38, we get 0 and a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Grab the next digit (4) from the dividend, add it to 8, then carry on: 84 / 38

Moving on to step 2:
38 can be fit into 84 2 times, resulting in a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we subtract 76 from 84, we get 8.
Append the next digit (8) from the dividend to 8 and continue with: 88 / 38

Moving on to step 3:
When dividing 88 by 38, we get 2 with a remainder of 12.
Put 2 as the next digit of the answer. 
Result so far: 22.0
Subtracting 76 from 88 leaves us with 12.
Append the next digit (5) from the dividend to 12 and continue with: 125 / 38

Let's proceed to step 4:
38 goes into 125 3 times with a remainder of 11.
Use 3 as the next digit of our solution. 
Result so far: 223.0
Deduct 114 from 125 and we're left with 11.
Append the next digit (1) from the dividend to 11 and continue with: 111 / 38

On to step 5:
38 goes into 111 2 times with a remainder of 35.
The next digit of our result is 2. 
Result so far: 2232.0
If we take 76 away from 111, we end up with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Going ahead to step 6:
350 divided by 38 is 9 with a remainder of 8.
The next digit of our result is 9. 
Result so far: 2232.9
Deduct 342 from 350 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 7:
The number 38 fits into 80 2 times, leaving a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 2232.92
Deduct 76 from 80 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 8:
If we divide 40 by 38, we get 1 and a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 2232.921
Subtracting 38 from 40 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 9:
38 can be fit into 20 0 times, resulting in a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 2232.921
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 10:
38 goes into 200 5 times with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 2232.92105
Subtracting 190 from 200 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 11:
38 can be fit into 100 2 times, resulting in a remainder of 24.
Put 2 as the next digit of the answer. 
Result so far: 2232.921052
If we take 76 away from 100, we end up with 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:
If we divide 240 by 38, we get 6 and a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 2232.9210526
Subtracting 228 from 240 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 13:
When dividing 120 by 38, we get 3 with a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 2232.92105263
Deduct 114 from 120 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Our division results in 2232.92105263 with a remaining 6e-09.