We're dividing 45159 by 18 
The aim is to understand the frequency of 18 in 45159.

Advancing to step 1:
18 goes into 4 0 times with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Take the next digit (5) from the dividend and append it to 4, then repeat: 45 / 18

Let's proceed to step 2:
If we divide 45 by 18, we get 2 and a remainder of 9.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 36 from 45 leaves us with 9.
Fetch the next digit (1) from the dividend, attach it to 9 and continue: 91 / 18

Let's proceed to step 3:
The number 18 fits into 91 5 times, leaving a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 25.0
Deduct 90 from 91 and we're left with 1.
Bring next digit (5) of the dividend behind the 1 and repeat the process: 15 / 18

On to step 4:
If we divide 15 by 18, we get 0 and a remainder of 15.
Write down 0 as next digit of the result. 
Result so far: 250.0
If we take 0 away from 15, we end up with 15.
Grab the next digit (9) from the dividend, add it to 15, then carry on: 159 / 18

Advancing to step 5:
If we divide 159 by 18, we get 8 and a remainder of 15.
The next digit of our result is 8. 
Result so far: 2508.0
The remainder is 15 after subtracting 144 from 159.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 6:
The number 18 fits into 150 8 times, leaving a remainder of 6.
The next digit of our result is 8. 
Result so far: 2508.8
Subtract 144 from 150 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 7:
18 can be fit into 60 3 times, resulting in a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 2508.83
If we take 54 away from 60, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 8:
If we divide 60 by 18, we get 3 and a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 2508.833
Deduct 54 from 60 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The final result is 2508.833 with a remainder of 0.0006.