We divide 138847 by 18
The aim is to understand the frequency of 18 in 138847.

Step 1:
When dividing 1 by 18, we get 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (3) from the dividend after 1, then repeat: 13 / 18

On to step 2:
13 divided by 18 is 0 with a remainder of 13.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 13 to get 13.
Grab the next digit (8) from the dividend, add it to 13, then carry on: 138 / 18

Moving on to step 3:
138 divided by 18 is 7 with a remainder of 12.
Write down 7 as next digit of the result. 
Result so far: 7.0
If we take 126 away from 138, we end up with 12.
Take the next digit (8) from the dividend and append it to 12, then repeat: 128 / 18

Step 4:
18 can be fit into 128 7 times, resulting in a remainder of 2.
The next digit of our result is 7. 
Result so far: 77.0
If we take 126 away from 128, we end up with 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 18

Advancing to step 5:
If we divide 24 by 18, we get 1 and a remainder of 6.
The number 1 becomes the next digit in our result. 
Result so far: 771.0
If we subtract 18 from 24, we get 6.
Take the next digit (7) from the dividend and append it to 6, then repeat: 67 / 18

On to step 6:
67 divided by 18 is 3 with a remainder of 13.
The next digit of our result is 3. 
Result so far: 7713.0
Subtract 54 from 67 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.

Going ahead to step 7:
18 can be fit into 130 7 times, resulting in a remainder of 4.
The next digit of our result is 7. 
Result so far: 7713.7
Subtracting 126 from 130 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.

Moving on to step 8:
When dividing 40 by 18, we get 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 7713.72
If we subtract 36 from 40, we 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.

On to step 9:
When dividing 40 by 18, we get 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 7713.722
Deduct 36 from 40 and we're left 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.

The quotient of the division is 7713.722, and the remainder is 0.0004.