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

Going ahead to step 1:
38 can be fit into 6 0 times, resulting in a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 6 to get 6.
Fetch the next digit (6) from the dividend, attach it to 6 and continue: 66 / 38

On to step 2:
38 can be fit into 66 1 times, resulting in a remainder of 28.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 38 from 66 to get 28.
Take the next digit (9) from the dividend and append it to 28, then repeat: 289 / 38

Advancing to step 3:
289 divided by 38 is 7 with a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
If we subtract 266 from 289, we get 23.
Fetch the next digit (7) from the dividend, attach it to 23 and continue: 237 / 38

On to step 4:
38 can be fit into 237 6 times, resulting in a remainder of 9.
Record the quotient 6 as the next digit in the result. 
Result so far: 176.0
If we subtract 228 from 237, we get 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 38

On to step 5:
If we divide 98 by 38, we get 2 and a remainder of 22.
Put 2 as the next digit of the answer. 
Result so far: 1762.0
Subtract 76 from 98 to get 22.
Include the next digit (2) from the dividend after 22, then repeat: 222 / 38

Going ahead to step 6:
If we divide 222 by 38, we get 5 and a remainder of 32.
Write down 5 as next digit of the result. 
Result so far: 17625.0
If we subtract 190 from 222, we get 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:
The number 38 fits into 320 8 times, leaving a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 17625.8
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.

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

Step 9:
The number 38 fits into 80 2 times, leaving a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 17625.842
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.

Let's proceed to step 10:
The number 38 fits into 40 1 times, leaving a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 17625.8421
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.

Step 11:
20 divided by 38 is 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 17625.8421
Deduct 0 from 20 and we're left 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.

Let's proceed to step 12:
When dividing 200 by 38, we get 5 with a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 17625.842105
Deduct 190 from 200 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.

Moving on to step 13:
100 divided by 38 is 2 with a remainder of 24.
Put 2 as the next digit of the answer. 
Result so far: 17625.8421052
Deduct 76 from 100 and we're left 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.

Moving on to step 14:
When dividing 240 by 38, we get 6 with a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 17625.84210526
Subtracting 228 from 240 leaves us 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.

The quotient of the division is 17625.84210526, and the remainder is 1.2e-08.