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

Step 1:
The number 38 fits into 1 0 times, leaving a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 38

Advancing to step 2:
17 divided by 38 is 0 with a remainder of 17.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 17, we get 17.
Append the next digit (6) from the dividend to 17 and continue with: 176 / 38

Advancing to step 3:
38 goes into 176 4 times with a remainder of 24.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Subtract 152 from 176 to get 24.
Take the next digit (7) from the dividend and append it to 24, then repeat: 247 / 38

Going ahead to step 4:
When dividing 247 by 38, we get 6 with a remainder of 19.
Write down 6 as next digit of the result. 
Result so far: 46.0
Subtracting 228 from 247 leaves us with 19.
Grab the next digit (7) from the dividend, add it to 19, then carry on: 197 / 38

On to step 5:
197 divided by 38 is 5 with a remainder of 7.
Record the quotient 5 as the next digit in the result. 
Result so far: 465.0
If we subtract 190 from 197, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 6:
If we divide 70 by 38, we get 1 and a remainder of 32.
Write down 1 as next digit of the result. 
Result so far: 465.1
If we take 38 away from 70, 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.

On to step 7:
38 can be fit into 320 8 times, resulting in a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 465.18
Subtracting 304 from 320 leaves us 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.

Step 8:
The number 38 fits into 160 4 times, leaving a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 465.184
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.

Advancing to step 9:
80 divided by 38 is 2 with a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 465.1842
If we subtract 76 from 80, we 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.

Going ahead to step 10:
38 can be fit into 40 1 times, resulting in a remainder of 2.
The next digit of our result is 1. 
Result so far: 465.18421
Subtract 38 from 40 to 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.

Going ahead to step 11:
38 goes into 20 0 times with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 465.18421
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 12:
If we divide 200 by 38, we get 5 and a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 465.1842105
If we subtract 190 from 200, we 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.

Moving on to step 13:
38 can be fit into 100 2 times, resulting in a remainder of 24.
The number 2 becomes the next digit in our result. 
Result so far: 465.18421052
If we take 76 away from 100, 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.

The final result is 465.18421052 with a remainder of 2.4e-08.