138229 divided by 13 
The aim is to understand the frequency of 13 in 138229.

Step 1:
When dividing 1 by 13, we get 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 13

On to step 2:
When dividing 13 by 13, we get 1 with a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 13 from 13 leaves us with 0.
Grab the next digit (8) from the dividend, add it to 0, then carry on: 8 / 13

Moving on to step 3:
If we divide 8 by 13, we get 0 and a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 10.0
Deduct 0 from 8 and we're left with 8.
Grab the next digit (2) from the dividend, add it to 8, then carry on: 82 / 13

Moving on to step 4:
13 goes into 82 6 times with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 106.0
Subtract 78 from 82 to get 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 13

Moving on to step 5:
If we divide 42 by 13, we get 3 and a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 1063.0
Subtract 39 from 42 to get 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 13

Step 6:
13 goes into 39 3 times with a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 10633.0
Subtract 39 from 39 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 7:
13 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 10633.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
When dividing 0 by 13, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 10633.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 10633.0 with a balance of 0.0.