142397 ÷ 18 
The aim is to understand the frequency of 18 in 142397.

On to step 1:
The number 18 fits into 1 0 times, leaving a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Take the next digit (4) from the dividend and append it to 1, then repeat: 14 / 18

Moving on to step 2:
When dividing 14 by 18, we get 0 with a remainder of 14.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 14, we end up with 14.
Fetch the next digit (2) from the dividend, attach it to 14 and continue: 142 / 18

Going ahead to step 3:
142 divided by 18 is 7 with a remainder of 16.
Write down 7 as next digit of the result. 
Result so far: 7.0
Subtracting 126 from 142 leaves us with 16.
Bring next digit (3) of the dividend behind the 16 and repeat the process: 163 / 18

On to step 4:
18 goes into 163 9 times with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 79.0
Deduct 162 from 163 and we're left with 1.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 18

Let's proceed to step 5:
When dividing 19 by 18, we get 1 with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 791.0
Subtract 18 from 19 to get 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 18

Let's proceed to step 6:
18 goes into 17 0 times with a remainder of 17.
Record the quotient 0 as the next digit in the result. 
Result so far: 7910.0
The remainder is 17 after subtracting 0 from 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 7:
When dividing 170 by 18, we get 9 with a remainder of 8.
Write down 9 as next digit of the result. 
Result so far: 7910.9
Subtracting 162 from 170 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.

On to step 8:
18 can be fit into 80 4 times, resulting in a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 7910.94
If we subtract 72 from 80, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 9:
18 goes into 80 4 times with a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 7910.944
If we take 72 away from 80, we end up 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.

After the division, we end up with 7910.944 and a remainder of 0.0008.