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

Going ahead to step 1:
If we divide 2 by 18, we get 0 and a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Take the next digit (9) from the dividend and append it to 2, then repeat: 29 / 18

Moving on to step 2:
When dividing 29 by 18, we get 1 with a remainder of 11.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 18 away from 29, we end up with 11.
Bring next digit (6) of the dividend behind the 11 and repeat the process: 116 / 18

Advancing to step 3:
116 divided by 18 is 6 with a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 16.0
If we subtract 108 from 116, we get 8.
Include the next digit (5) from the dividend after 8, then repeat: 85 / 18

Moving on to step 4:
85 divided by 18 is 4 with a remainder of 13.
Record the quotient 4 as the next digit in the result. 
Result so far: 164.0
Subtract 72 from 85 to get 13.
Bring next digit (7) of the dividend behind the 13 and repeat the process: 137 / 18

Advancing to step 5:
The number 18 fits into 137 7 times, leaving a remainder of 11.
Record the quotient 7 as the next digit in the result. 
Result so far: 1647.0
The remainder is 11 after subtracting 126 from 137.
Append the next digit (9) from the dividend to 11 and continue with: 119 / 18

Moving on to step 6:
18 can be fit into 119 6 times, resulting in a remainder of 11.
Use 6 as the next digit of our solution. 
Result so far: 16476.0
Deduct 108 from 119 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 7:
18 can be fit into 110 6 times, resulting in a remainder of 2.
The next digit of our result is 6. 
Result so far: 16476.6
Subtracting 108 from 110 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 8:
18 can be fit into 20 1 times, resulting in a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 16476.61
If we subtract 18 from 20, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 9:
18 can be fit into 20 1 times, resulting in a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 16476.611
If we take 18 away from 20, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

After the division, we end up with 16476.611 and a remainder of 0.0002.