Let's divide 838788 by 38
The aim is to understand the frequency of 38 in 838788.

Advancing to step 1:
38 can be fit into 8 0 times, resulting in a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Bring next digit (3) of the dividend behind the 8 and repeat the process: 83 / 38

Moving on to step 2:
83 divided by 38 is 2 with a remainder of 7.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 76 from 83 and we're left with 7.
Take the next digit (8) from the dividend and append it to 7, then repeat: 78 / 38

Step 3:
If we divide 78 by 38, we get 2 and a remainder of 2.
The next digit of our result is 2. 
Result so far: 22.0
Deduct 76 from 78 and we're left with 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 38

Moving on to step 4:
38 can be fit into 27 0 times, resulting in a remainder of 27.
Record the quotient 0 as the next digit in the result. 
Result so far: 220.0
Subtract 0 from 27 to get 27.
Bring next digit (8) of the dividend behind the 27 and repeat the process: 278 / 38

Advancing to step 5:
278 divided by 38 is 7 with a remainder of 12.
The number 7 becomes the next digit in our result. 
Result so far: 2207.0
Subtracting 266 from 278 leaves us with 12.
Take the next digit (8) from the dividend and append it to 12, then repeat: 128 / 38

On to step 6:
38 goes into 128 3 times with a remainder of 14.
Put 3 as the next digit of the answer. 
Result so far: 22073.0
Subtracting 114 from 128 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 7:
If we divide 140 by 38, we get 3 and a remainder of 26.
Put 3 as the next digit of the answer. 
Result so far: 22073.3
If we subtract 114 from 140, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 8:
38 can be fit into 260 6 times, resulting in a remainder of 32.
Put 6 as the next digit of the answer. 
Result so far: 22073.36
If we take 228 away from 260, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 9:
If we divide 320 by 38, we get 8 and a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 22073.368
If we subtract 304 from 320, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 10:
If we divide 160 by 38, we get 4 and a remainder of 8.
The next digit of our result is 4. 
Result so far: 22073.3684
Subtract 152 from 160 to get 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 11:
When dividing 80 by 38, we get 2 with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 22073.36842
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.

Advancing to step 12:
When dividing 40 by 38, we get 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 22073.368421
If we subtract 38 from 40, 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.

Advancing to step 13:
20 divided by 38 is 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 22073.368421
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.

On to step 14:
The number 38 fits into 200 5 times, leaving a remainder of 10.
The next digit of our result is 5. 
Result so far: 22073.36842105
Subtract 190 from 200 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Our division results in 22073.36842105 with a remaining 1e-08.