We divide 197385 by 38
The aim is to understand the frequency of 38 in 197385.

On to step 1:
1 divided by 38 is 0 with 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.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 38

Moving on to step 2:
19 divided by 38 is 0 with a remainder of 19.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 19, we get 19.
Fetch the next digit (7) from the dividend, attach it to 19 and continue: 197 / 38

Step 3:
The number 38 fits into 197 5 times, leaving a remainder of 7.
Write down 5 as next digit of the result. 
Result so far: 5.0
Deduct 190 from 197 and we're left with 7.
Append the next digit (3) from the dividend to 7 and continue with: 73 / 38

Moving on to step 4:
38 can be fit into 73 1 times, resulting in a remainder of 35.
Use 1 as the next digit of our solution. 
Result so far: 51.0
Subtracting 38 from 73 leaves us with 35.
Grab the next digit (8) from the dividend, add it to 35, then carry on: 358 / 38

Moving on to step 5:
The number 38 fits into 358 9 times, leaving a remainder of 16.
Put 9 as the next digit of the answer. 
Result so far: 519.0
If we take 342 away from 358, we end up with 16.
Include the next digit (5) from the dividend after 16, then repeat: 165 / 38

Advancing to step 6:
If we divide 165 by 38, we get 4 and a remainder of 13.
Put 4 as the next digit of the answer. 
Result so far: 5194.0
Subtract 152 from 165 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 7:
38 can be fit into 130 3 times, resulting in a remainder of 16.
Use 3 as the next digit of our solution. 
Result so far: 5194.3
If we take 114 away from 130, 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.

Moving on to step 8:
When dividing 160 by 38, we get 4 with a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 5194.34
Subtracting 152 from 160 leaves us 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.

Going ahead to step 9:
38 goes into 80 2 times with a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 5194.342
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.

Let's proceed to step 10:
If we divide 40 by 38, we get 1 and a remainder of 2.
The next digit of our result is 1. 
Result so far: 5194.3421
The remainder is 2 after subtracting 38 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 11:
20 divided by 38 is 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 5194.3421
The remainder is 20 after subtracting 0 from 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:
38 goes into 200 5 times with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 5194.342105
The remainder is 10 after subtracting 190 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 13:
If we divide 100 by 38, we get 2 and a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 5194.3421052
Subtracting 76 from 100 leaves us 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.

Going ahead to step 14:
When dividing 240 by 38, we get 6 with a remainder of 12.
The next digit of our result is 6. 
Result so far: 5194.34210526
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.

Our division results in 5194.34210526 with a remaining 1.2e-08.