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

Going ahead to step 1:
If we divide 1 by 38, we get 0 and a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 38

Moving on to step 2:
38 goes into 15 0 times with a remainder of 15.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 15 and we're left with 15.
Bring next digit (7) of the dividend behind the 15 and repeat the process: 157 / 38

On to step 3:
38 can be fit into 157 4 times, resulting in a remainder of 5.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Deduct 152 from 157 and we're left with 5.
Include the next digit (5) from the dividend after 5, then repeat: 55 / 38

Advancing to step 4:
When dividing 55 by 38, we get 1 with a remainder of 17.
Record the quotient 1 as the next digit in the result. 
Result so far: 41.0
If we take 38 away from 55, we end up with 17.
Include the next digit (7) from the dividend after 17, then repeat: 177 / 38

On to step 5:
When dividing 177 by 38, we get 4 with a remainder of 25.
Put 4 as the next digit of the answer. 
Result so far: 414.0
Subtract 152 from 177 to get 25.
Bring next digit (2) of the dividend behind the 25 and repeat the process: 252 / 38

Step 6:
38 can be fit into 252 6 times, resulting in a remainder of 24.
Put 6 as the next digit of the answer. 
Result so far: 4146.0
If we take 228 away from 252, 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.

Advancing to step 7:
38 can be fit into 240 6 times, resulting in a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 4146.6
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.

Step 8:
The number 38 fits into 120 3 times, leaving a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 4146.63
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.

Let's proceed to step 9:
38 goes into 60 1 times with a remainder of 22.
The next digit of our result is 1. 
Result so far: 4146.631
Deduct 38 from 60 and we're left 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.

Going ahead to step 10:
38 can be fit into 220 5 times, resulting in a remainder of 30.
The next digit of our result is 5. 
Result so far: 4146.6315
Deduct 190 from 220 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 11:
300 divided by 38 is 7 with a remainder of 34.
The next digit of our result is 7. 
Result so far: 4146.63157
If we take 266 away from 300, we end up 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.

On to step 12:
If we divide 340 by 38, we get 8 and a remainder of 36.
Write down 8 as next digit of the result. 
Result so far: 4146.631578
If we subtract 304 from 340, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 13:
38 goes into 360 9 times with a remainder of 18.
Record the quotient 9 as the next digit in the result. 
Result so far: 4146.6315789
If we take 342 away from 360, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 14:
If we divide 180 by 38, we get 4 and a remainder of 28.
Put 4 as the next digit of the answer. 
Result so far: 4146.63157894
Deduct 152 from 180 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The quotient of the division is 4146.63157894, and the remainder is 2.8e-08.