We're dividing 119843 by 38 
The aim is to understand the frequency of 38 in 119843.

On to step 1:
1 divided by 38 is 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Grab the next digit (1) from the dividend, add it to 1, then carry on: 11 / 38

Advancing to step 2:
When dividing 11 by 38, we get 0 with a remainder of 11.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 11, we get 11.
Take the next digit (9) from the dividend and append it to 11, then repeat: 119 / 38

Advancing to step 3:
38 goes into 119 3 times with a remainder of 5.
Put 3 as the next digit of the answer. 
Result so far: 3.0
The remainder is 5 after subtracting 114 from 119.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 38

On to step 4:
38 can be fit into 58 1 times, resulting in a remainder of 20.
Put 1 as the next digit of the answer. 
Result so far: 31.0
The remainder is 20 after subtracting 38 from 58.
Append the next digit (4) from the dividend to 20 and continue with: 204 / 38

Moving on to step 5:
38 can be fit into 204 5 times, resulting in a remainder of 14.
Put 5 as the next digit of the answer. 
Result so far: 315.0
Subtract 190 from 204 to get 14.
Bring next digit (3) of the dividend behind the 14 and repeat the process: 143 / 38

Advancing to step 6:
If we divide 143 by 38, we get 3 and a remainder of 29.
The next digit of our result is 3. 
Result so far: 3153.0
Subtracting 114 from 143 leaves us with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 7:
The number 38 fits into 290 7 times, leaving a remainder of 24.
Record the quotient 7 as the next digit in the result. 
Result so far: 3153.7
The remainder is 24 after subtracting 266 from 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 8:
If we divide 240 by 38, we get 6 and a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 3153.76
The remainder is 12 after subtracting 228 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 9:
38 goes into 120 3 times with a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 3153.763
If we take 114 away from 120, we end up 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.

On to step 10:
If we divide 60 by 38, we get 1 and a remainder of 22.
Write down 1 as next digit of the result. 
Result so far: 3153.7631
If we subtract 38 from 60, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 11:
38 can be fit into 220 5 times, resulting in a remainder of 30.
Write down 5 as next digit of the result. 
Result so far: 3153.76315
Deduct 190 from 220 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 12:
If we divide 300 by 38, we get 7 and a remainder of 34.
The number 7 becomes the next digit in our result. 
Result so far: 3153.763157
Subtracting 266 from 300 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 13:
340 divided by 38 is 8 with a remainder of 36.
Use 8 as the next digit of our solution. 
Result so far: 3153.7631578
If we take 304 away from 340, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 14:
If we divide 360 by 38, we get 9 and a remainder of 18.
The number 9 becomes the next digit in our result. 
Result so far: 3153.76315789
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.

Our division results in 3153.76315789 with a remaining 1.8e-08.