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

On to step 1:
When dividing 2 by 38, we get 0 with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Bring next digit (1) of the dividend behind the 2 and repeat the process: 21 / 38

Step 2:
The number 38 fits into 21 0 times, leaving a remainder of 21.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 21, we end up with 21.
Append the next digit (1) from the dividend to 21 and continue with: 211 / 38

On to step 3:
211 divided by 38 is 5 with a remainder of 21.
The next digit of our result is 5. 
Result so far: 5.0
Deduct 190 from 211 and we're left with 21.
Take the next digit (8) from the dividend and append it to 21, then repeat: 218 / 38

Let's proceed to step 4:
When dividing 218 by 38, we get 5 with a remainder of 28.
The number 5 becomes the next digit in our result. 
Result so far: 55.0
Deduct 190 from 218 and we're left with 28.
Include the next digit (0) from the dividend after 28, then repeat: 280 / 38

Moving on to step 5:
When dividing 280 by 38, we get 7 with a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 557.0
Subtracting 266 from 280 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.

Advancing to step 6:
When dividing 140 by 38, we get 3 with a remainder of 26.
The next digit of our result is 3. 
Result so far: 557.3
Subtracting 114 from 140 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 7:
When dividing 260 by 38, we get 6 with a remainder of 32.
The number 6 becomes the next digit in our result. 
Result so far: 557.36
Deduct 228 from 260 and we're left 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.

Step 8:
38 can be fit into 320 8 times, resulting in a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 557.368
If we take 304 away from 320, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 9:
When dividing 160 by 38, we get 4 with a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 557.3684
If we subtract 152 from 160, we 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.

Advancing to step 10:
38 can be fit into 80 2 times, resulting in a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 557.36842
The remainder is 4 after subtracting 76 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 11:
The number 38 fits into 40 1 times, leaving a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 557.368421
The remainder is 2 after subtracting 38 from 40.
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 12:
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: 557.368421
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 13:
When dividing 200 by 38, we get 5 with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 557.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.

After the division, we end up with 557.36842105 and a remainder of 1e-08.