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

Let's proceed to step 1:
When dividing 5 by 18, we get 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 18

Let's proceed to step 2:
When dividing 51 by 18, we get 2 with a remainder of 15.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 36 from 51 leaves us with 15.
Include the next digit (3) from the dividend after 15, then repeat: 153 / 18

Advancing to step 3:
18 goes into 153 8 times with a remainder of 9.
Record the quotient 8 as the next digit in the result. 
Result so far: 28.0
Subtracting 144 from 153 leaves us with 9.
Grab the next digit (1) from the dividend, add it to 9, then carry on: 91 / 18

Step 4:
When dividing 91 by 18, we get 5 with a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 285.0
If we subtract 90 from 91, we get 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 18

Let's proceed to step 5:
When dividing 16 by 18, we get 0 with a remainder of 16.
Put 0 as the next digit of the answer. 
Result so far: 2850.0
The remainder is 16 after subtracting 0 from 16.
Take the next digit (3) from the dividend and append it to 16, then repeat: 163 / 18

Step 6:
163 divided by 18 is 9 with a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 28509.0
Subtract 162 from 163 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
When dividing 10 by 18, we get 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 28509.0
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 8:
The number 18 fits into 100 5 times, leaving a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 28509.05
Subtracting 90 from 100 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 9:
When dividing 100 by 18, we get 5 with a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 28509.055
The remainder is 10 after subtracting 90 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

After the division, we end up with 28509.055 and a remainder of 0.001.