We're dividing 831847 by 38 
The aim is to understand the frequency of 38 in 831847.

Advancing to step 1:
When dividing 8 by 38, we get 0 with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Grab the next digit (3) from the dividend, add it to 8, then carry on: 83 / 38

Let's proceed to step 2:
The number 38 fits into 83 2 times, leaving a remainder of 7.
The next digit of our result is 2. 
Result so far: 2.0
If we take 76 away from 83, we end up with 7.
Grab the next digit (1) from the dividend, add it to 7, then carry on: 71 / 38

On to step 3:
38 can be fit into 71 1 times, resulting in a remainder of 33.
Record the quotient 1 as the next digit in the result. 
Result so far: 21.0
The remainder is 33 after subtracting 38 from 71.
Append the next digit (8) from the dividend to 33 and continue with: 338 / 38

On to step 4:
If we divide 338 by 38, we get 8 and a remainder of 34.
Put 8 as the next digit of the answer. 
Result so far: 218.0
If we subtract 304 from 338, we get 34.
Take the next digit (4) from the dividend and append it to 34, then repeat: 344 / 38

Going ahead to step 5:
38 goes into 344 9 times with a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 2189.0
Deduct 342 from 344 and we're left with 2.
Append the next digit (7) from the dividend to 2 and continue with: 27 / 38

Step 6:
The number 38 fits into 27 0 times, leaving a remainder of 27.
Put 0 as the next digit of the answer. 
Result so far: 21890.0
Subtract 0 from 27 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 7:
38 goes into 270 7 times with a remainder of 4.
The next digit of our result is 7. 
Result so far: 21890.7
Deduct 266 from 270 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.

Going ahead to step 8:
If we divide 40 by 38, we get 1 and a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 21890.71
Deduct 38 from 40 and we're left 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.

On to step 9:
38 goes into 20 0 times with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 21890.71
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 10:
38 can be fit into 200 5 times, resulting in a remainder of 10.
The next digit of our result is 5. 
Result so far: 21890.7105
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.

Going ahead to step 11:
If we divide 100 by 38, we get 2 and a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 21890.71052
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.

Moving on to step 12:
If we divide 240 by 38, we get 6 and a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 21890.710526
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.

Going ahead to step 13:
If we divide 120 by 38, we get 3 and a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 21890.7105263
Subtracting 114 from 120 leaves us 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.

Moving on to step 14:
60 divided by 38 is 1 with a remainder of 22.
Use 1 as the next digit of our solution. 
Result so far: 21890.71052631
Subtracting 38 from 60 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Our division results in 21890.71052631 with a remaining 2.2e-08.