We look at the division of 13840276 by 138 
The aim is to understand the frequency of 138 in 13840276.

Step 1:
138 goes into 1 0 times with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Fetch the next digit (3) from the dividend, attach it to 1 and continue: 13 / 138

Step 2:
When dividing 13 by 138, we get 0 with a remainder of 13.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 13, we get 13.
Bring next digit (8) of the dividend behind the 13 and repeat the process: 138 / 138

Advancing to step 3:
138 divided by 138 is 1 with a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 138 from 138 and we're left with 0.
Include the next digit (4) from the dividend after 0, then repeat: 4 / 138

Let's proceed to step 4:
138 goes into 4 0 times with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
If we subtract 0 from 4, we get 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 138

Advancing to step 5:
138 can be fit into 40 0 times, resulting in a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 100.0
The remainder is 40 after subtracting 0 from 40.
Take the next digit (2) from the dividend and append it to 40, then repeat: 402 / 138

Let's proceed to step 6:
If we divide 402 by 138, we get 2 and a remainder of 126.
The next digit of our result is 2. 
Result so far: 1002.0
If we take 276 away from 402, we end up with 126.
Append the next digit (7) from the dividend to 126 and continue with: 1267 / 138

Advancing to step 7:
When dividing 1267 by 138, we get 9 with a remainder of 25.
Record the quotient 9 as the next digit in the result. 
Result so far: 10029.0
Deduct 1242 from 1267 and we're left with 25.
Append the next digit (6) from the dividend to 25 and continue with: 256 / 138

Step 8:
If we divide 256 by 138, we get 1 and a remainder of 118.
The number 1 becomes the next digit in our result. 
Result so far: 100291.0
The remainder is 118 after subtracting 138 from 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Let's proceed to step 9:
The number 138 fits into 1180 8 times, leaving a remainder of 76.
Write down 8 as next digit of the result. 
Result so far: 100291.8
If we take 1104 away from 1180, we end up with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Step 10:
138 can be fit into 760 5 times, resulting in a remainder of 70.
Write down 5 as next digit of the result. 
Result so far: 100291.85
If we subtract 690 from 760, we get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Let's proceed to step 11:
700 divided by 138 is 5 with a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 100291.855
Subtracting 690 from 700 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The quotient of the division is 100291.855, and the remainder is 0.001.