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

Let's proceed to step 1:
If we divide 8 by 38, we get 0 and a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Fetch the next digit (5) from the dividend, attach it to 8 and continue: 85 / 38

Moving on to step 2:
If we divide 85 by 38, we get 2 and a remainder of 9.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 76 from 85, we get 9.
Append the next digit (2) from the dividend to 9 and continue with: 92 / 38

Step 3:
When dividing 92 by 38, we get 2 with a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 22.0
If we take 76 away from 92, we end up with 16.
Take the next digit (8) from the dividend and append it to 16, then repeat: 168 / 38

Let's proceed to step 4:
38 goes into 168 4 times with a remainder of 16.
The next digit of our result is 4. 
Result so far: 224.0
Subtracting 152 from 168 leaves us with 16.
Append the next digit (3) from the dividend to 16 and continue with: 163 / 38

Advancing to step 5:
38 can be fit into 163 4 times, resulting in a remainder of 11.
Write down 4 as next digit of the result. 
Result so far: 2244.0
Subtracting 152 from 163 leaves us with 11.
Append the next digit (6) from the dividend to 11 and continue with: 116 / 38

On to step 6:
If we divide 116 by 38, we get 3 and a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 22443.0
If we subtract 114 from 116, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
When dividing 20 by 38, we get 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 22443.0
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 8:
The number 38 fits into 200 5 times, leaving a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 22443.05
If we take 190 away from 200, we end up 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.

Advancing to step 9:
The number 38 fits into 100 2 times, leaving a remainder of 24.
Put 2 as the next digit of the answer. 
Result so far: 22443.052
Subtract 76 from 100 to 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.

Going ahead to step 10:
The number 38 fits into 240 6 times, leaving a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 22443.0526
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.

Moving on to step 11:
38 can be fit into 120 3 times, resulting in a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 22443.05263
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.

Step 12:
If we divide 60 by 38, we get 1 and a remainder of 22.
The number 1 becomes the next digit in our result. 
Result so far: 22443.052631
The remainder is 22 after subtracting 38 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 13:
The number 38 fits into 220 5 times, leaving a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 22443.0526315
If we subtract 190 from 220, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 14:
The number 38 fits into 300 7 times, leaving a remainder of 34.
The number 7 becomes the next digit in our result. 
Result so far: 22443.05263157
Deduct 266 from 300 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

The final result is 22443.05263157 with a remainder of 3.4e-08.