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

Let's proceed to step 1:
When dividing 8 by 18, we get 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 18

Moving on to step 2:
If we divide 87 by 18, we get 4 and a remainder of 15.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtracting 72 from 87 leaves us with 15.
Grab the next digit (2) from the dividend, add it to 15, then carry on: 152 / 18

Step 3:
152 divided by 18 is 8 with a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 48.0
If we subtract 144 from 152, we get 8.
Fetch the next digit (1) from the dividend, attach it to 8 and continue: 81 / 18

Let's proceed to step 4:
When dividing 81 by 18, we get 4 with a remainder of 9.
Put 4 as the next digit of the answer. 
Result so far: 484.0
Subtract 72 from 81 to get 9.
Include the next digit (7) from the dividend after 9, then repeat: 97 / 18

Going ahead to step 5:
When dividing 97 by 18, we get 5 with a remainder of 7.
Record the quotient 5 as the next digit in the result. 
Result so far: 4845.0
Subtracting 90 from 97 leaves us with 7.
Grab the next digit (4) from the dividend, add it to 7, then carry on: 74 / 18

Advancing to step 6:
When dividing 74 by 18, we get 4 with a remainder of 2.
The next digit of our result is 4. 
Result so far: 48454.0
Subtracting 72 from 74 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.

On to step 7:
The number 18 fits into 20 1 times, leaving a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 48454.1
Subtracting 18 from 20 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.

On to step 8:
The number 18 fits into 20 1 times, leaving a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 48454.11
The remainder is 2 after subtracting 18 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final result is 48454.11 with a remainder of 0.002.