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

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

On to step 2:
35 divided by 38 is 0 with a remainder of 35.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 35 after subtracting 0 from 35.
Fetch the next digit (3) from the dividend, attach it to 35 and continue: 353 / 38

Moving on to step 3:
353 divided by 38 is 9 with a remainder of 11.
The next digit of our result is 9. 
Result so far: 9.0
The remainder is 11 after subtracting 342 from 353.
Fetch the next digit (7) from the dividend, attach it to 11 and continue: 117 / 38

Moving on to step 4:
If we divide 117 by 38, we get 3 and a remainder of 3.
Record the quotient 3 as the next digit in the result. 
Result so far: 93.0
Deduct 114 from 117 and we're left with 3.
Take the next digit (8) from the dividend and append it to 3, then repeat: 38 / 38

Going ahead to step 5:
38 goes into 38 1 times with a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 931.0
Subtracting 38 from 38 leaves us with 0.
Append the next digit (3) from the dividend to 0 and continue with: 3 / 38

Step 6:
38 goes into 3 0 times with a remainder of 3.
The next digit of our result is 0. 
Result so far: 9310.0
Subtract 0 from 3 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 7:
If we divide 30 by 38, we get 0 and a remainder of 30.
The next digit of our result is 0. 
Result so far: 9310.0
The remainder is 30 after subtracting 0 from 30.
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 8:
38 can be fit into 300 7 times, resulting in a remainder of 34.
Write down 7 as next digit of the result. 
Result so far: 9310.07
Subtract 266 from 300 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 9:
38 can be fit into 340 8 times, resulting in a remainder of 36.
Put 8 as the next digit of the answer. 
Result so far: 9310.078
Subtract 304 from 340 to 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.

Advancing to step 10:
360 divided by 38 is 9 with a remainder of 18.
The next digit of our result is 9. 
Result so far: 9310.0789
The remainder is 18 after subtracting 342 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 11:
When dividing 180 by 38, we get 4 with a remainder of 28.
Record the quotient 4 as the next digit in the result. 
Result so far: 9310.07894
The remainder is 28 after subtracting 152 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 12:
The number 38 fits into 280 7 times, leaving a remainder of 14.
Use 7 as the next digit of our solution. 
Result so far: 9310.078947
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.

Going ahead to step 13:
140 divided by 38 is 3 with a remainder of 26.
The number 3 becomes the next digit in our result. 
Result so far: 9310.0789473
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.

On to step 14:
260 divided by 38 is 6 with a remainder of 32.
Put 6 as the next digit of the answer. 
Result so far: 9310.07894736
If we subtract 228 from 260, 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.

Our division results in 9310.07894736 with a remaining 3.2e-08.