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

Going ahead to step 1:
If we divide 2 by 38, we get 0 and a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 38

Going ahead to step 2:
38 can be fit into 25 0 times, resulting in a remainder of 25.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 25 to get 25.
Bring next digit (2) of the dividend behind the 25 and repeat the process: 252 / 38

Let's proceed to step 3:
38 goes into 252 6 times with a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 6.0
Subtracting 228 from 252 leaves us with 24.
Append the next digit (7) from the dividend to 24 and continue with: 247 / 38

Let's proceed to step 4:
The number 38 fits into 247 6 times, leaving a remainder of 19.
Write down 6 as next digit of the result. 
Result so far: 66.0
Deduct 228 from 247 and we're left with 19.
Include the next digit (1) from the dividend after 19, then repeat: 191 / 38

Going ahead to step 5:
38 goes into 191 5 times with a remainder of 1.
Use 5 as the next digit of our solution. 
Result so far: 665.0
If we subtract 190 from 191, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 6:
38 can be fit into 10 0 times, resulting in a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 665.0
Deduct 0 from 10 and we're left 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 7:
The number 38 fits into 100 2 times, leaving a remainder of 24.
Use 2 as the next digit of our solution. 
Result so far: 665.02
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 8:
240 divided by 38 is 6 with a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 665.026
If we take 228 away from 240, we end up 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.

Let's proceed to step 9:
When dividing 120 by 38, we get 3 with a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 665.0263
The remainder is 6 after subtracting 114 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 10:
If we divide 60 by 38, we get 1 and a remainder of 22.
Use 1 as the next digit of our solution. 
Result so far: 665.02631
If we take 38 away from 60, we end up 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.

Let's proceed to step 11:
If we divide 220 by 38, we get 5 and a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 665.026315
The remainder is 30 after subtracting 190 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 12:
If we divide 300 by 38, we get 7 and a remainder of 34.
The number 7 becomes the next digit in our result. 
Result so far: 665.0263157
Subtracting 266 from 300 leaves us 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.

Moving on to step 13:
If we divide 340 by 38, we get 8 and a remainder of 36.
The next digit of our result is 8. 
Result so far: 665.02631578
If we take 304 away from 340, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

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