Let's divide 137785 by 38
The aim is to understand the frequency of 38 in 137785.

Moving on to step 1:
When dividing 1 by 38, we get 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (3) from the dividend after 1, then repeat: 13 / 38

Advancing to step 2:
The number 38 fits into 13 0 times, leaving a remainder of 13.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 13 to get 13.
Fetch the next digit (7) from the dividend, attach it to 13 and continue: 137 / 38

Let's proceed to step 3:
137 divided by 38 is 3 with a remainder of 23.
The next digit of our result is 3. 
Result so far: 3.0
If we subtract 114 from 137, we get 23.
Append the next digit (7) from the dividend to 23 and continue with: 237 / 38

Advancing to step 4:
237 divided by 38 is 6 with a remainder of 9.
The next digit of our result is 6. 
Result so far: 36.0
The remainder is 9 after subtracting 228 from 237.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 38

Going ahead to step 5:
When dividing 98 by 38, we get 2 with a remainder of 22.
Put 2 as the next digit of the answer. 
Result so far: 362.0
If we take 76 away from 98, we end up with 22.
Bring next digit (5) of the dividend behind the 22 and repeat the process: 225 / 38

Let's proceed to step 6:
225 divided by 38 is 5 with a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 3625.0
If we subtract 190 from 225, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 7:
38 goes into 350 9 times with a remainder of 8.
Record the quotient 9 as the next digit in the result. 
Result so far: 3625.9
If we subtract 342 from 350, we 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.

Moving on to step 8:
38 goes into 80 2 times with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 3625.92
Subtracting 76 from 80 leaves us with 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 9:
38 goes into 40 1 times with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 3625.921
Subtracting 38 from 40 leaves us with 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 10:
If we divide 20 by 38, we get 0 and a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 3625.921
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 11:
200 divided by 38 is 5 with a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 3625.92105
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.

On to step 12:
If we divide 100 by 38, we get 2 and a remainder of 24.
The next digit of our result is 2. 
Result so far: 3625.921052
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.

On to step 13:
The number 38 fits into 240 6 times, leaving a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 3625.9210526
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.

Advancing to step 14:
38 goes into 120 3 times with a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 3625.92105263
Subtracting 114 from 120 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The final outcome is 3625.92105263, with a leftover of 6e-09.