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

On to step 1:
The number 38 fits into 2 0 times, leaving a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 38

Going ahead to step 2:
38 goes into 22 0 times with a remainder of 22.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 22, we get 22.
Include the next digit (1) from the dividend after 22, then repeat: 221 / 38

Going ahead to step 3:
38 can be fit into 221 5 times, resulting in a remainder of 31.
Write down 5 as next digit of the result. 
Result so far: 5.0
Deduct 190 from 221 and we're left with 31.
Grab the next digit (0) from the dividend, add it to 31, then carry on: 310 / 38

Step 4:
The number 38 fits into 310 8 times, leaving a remainder of 6.
The number 8 becomes the next digit in our result. 
Result so far: 58.0
Subtract 304 from 310 to get 6.
Include the next digit (8) from the dividend after 6, then repeat: 68 / 38

Going ahead to step 5:
The number 38 fits into 68 1 times, leaving a remainder of 30.
Put 1 as the next digit of the answer. 
Result so far: 581.0
If we take 38 away from 68, we end up with 30.
Include the next digit (3) from the dividend after 30, then repeat: 303 / 38

On to step 6:
The number 38 fits into 303 7 times, leaving a remainder of 37.
Record the quotient 7 as the next digit in the result. 
Result so far: 5817.0
If we subtract 266 from 303, we get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

On to step 7:
The number 38 fits into 370 9 times, leaving a remainder of 28.
The next digit of our result is 9. 
Result so far: 5817.9
Subtract 342 from 370 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 8:
If we divide 280 by 38, we get 7 and a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 5817.97
Deduct 266 from 280 and we're left 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.

Let's proceed to step 9:
140 divided by 38 is 3 with a remainder of 26.
Record the quotient 3 as the next digit in the result. 
Result so far: 5817.973
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.

Step 10:
38 goes into 260 6 times with a remainder of 32.
The number 6 becomes the next digit in our result. 
Result so far: 5817.9736
Deduct 228 from 260 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 11:
38 can be fit into 320 8 times, resulting in a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 5817.97368
The remainder is 16 after subtracting 304 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 12:
38 can be fit into 160 4 times, resulting in a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 5817.973684
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.

Moving on to step 13:
38 goes into 80 2 times with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 5817.9736842
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.

Moving on to step 14:
38 can be fit into 40 1 times, resulting in a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 5817.97368421
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.

In conclusion, the division gives 5817.97368421 with a balance of 2e-09.