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

Going ahead to step 1:
The number 18 fits into 8 0 times, leaving a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Append the next digit (1) from the dividend to 8 and continue with: 81 / 18

Advancing to step 2:
81 divided by 18 is 4 with a remainder of 9.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Subtracting 72 from 81 leaves us with 9.
Append the next digit (4) from the dividend to 9 and continue with: 94 / 18

Going ahead to step 3:
The number 18 fits into 94 5 times, leaving a remainder of 4.
The number 5 becomes the next digit in our result. 
Result so far: 45.0
Subtract 90 from 94 to get 4.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 18

Going ahead to step 4:
42 divided by 18 is 2 with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 452.0
Subtract 36 from 42 to get 6.
Fetch the next digit (4) from the dividend, attach it to 6 and continue: 64 / 18

Going ahead to step 5:
18 goes into 64 3 times with a remainder of 10.
The number 3 becomes the next digit in our result. 
Result so far: 4523.0
If we subtract 54 from 64, we get 10.
Append the next digit (2) from the dividend to 10 and continue with: 102 / 18

Moving on to step 6:
102 divided by 18 is 5 with a remainder of 12.
Put 5 as the next digit of the answer. 
Result so far: 45235.0
If we take 90 away from 102, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 7:
If we divide 120 by 18, we get 6 and a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 45235.6
If we take 108 away from 120, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 8:
The number 18 fits into 120 6 times, leaving a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 45235.66
The remainder is 12 after subtracting 108 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

After the division, we end up with 45235.66 and a remainder of 0.012.