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

Going ahead to step 1:
The number 38 fits into 8 0 times, leaving a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Include the next digit (2) from the dividend after 8, then repeat: 82 / 38

Going ahead to step 2:
82 divided by 38 is 2 with a remainder of 6.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 76 from 82 to get 6.
Bring next digit (3) of the dividend behind the 6 and repeat the process: 63 / 38

Advancing to step 3:
63 divided by 38 is 1 with a remainder of 25.
Write down 1 as next digit of the result. 
Result so far: 21.0
Subtracting 38 from 63 leaves us with 25.
Append the next digit (8) from the dividend to 25 and continue with: 258 / 38

On to step 4:
258 divided by 38 is 6 with a remainder of 30.
The number 6 becomes the next digit in our result. 
Result so far: 216.0
Subtract 228 from 258 to get 30.
Take the next digit (7) from the dividend and append it to 30, then repeat: 307 / 38

Going ahead to step 5:
The number 38 fits into 307 8 times, leaving a remainder of 3.
Use 8 as the next digit of our solution. 
Result so far: 2168.0
Subtracting 304 from 307 leaves us with 3.
Bring next digit (5) of the dividend behind the 3 and repeat the process: 35 / 38

Let's proceed to step 6:
35 divided by 38 is 0 with a remainder of 35.
Record the quotient 0 as the next digit in the result. 
Result so far: 21680.0
Subtract 0 from 35 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Advancing to step 7:
38 can be fit into 350 9 times, resulting in a remainder of 8.
Write down 9 as next digit of the result. 
Result so far: 21680.9
Subtracting 342 from 350 leaves us 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.

Step 8:
When dividing 80 by 38, we get 2 with a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 21680.92
Subtract 76 from 80 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 9:
38 goes into 40 1 times with a remainder of 2.
The next digit of our result is 1. 
Result so far: 21680.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.

Step 10:
38 can be fit into 20 0 times, resulting in a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 21680.921
Subtracting 0 from 20 leaves us 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.

Moving on to step 11:
38 can be fit into 200 5 times, resulting in a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 21680.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.

On to step 12:
If we divide 100 by 38, we get 2 and a remainder of 24.
The next digit of our result is 2. 
Result so far: 21680.921052
If we subtract 76 from 100, 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 13:
240 divided by 38 is 6 with a remainder of 12.
The next digit of our result is 6. 
Result so far: 21680.9210526
If we subtract 228 from 240, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 14:
120 divided by 38 is 3 with a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 21680.92105263
If we take 114 away from 120, we end up 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.

The quotient of the division is 21680.92105263, and the remainder is 6e-09.