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

On to step 1:
18 goes into 6 0 times with a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Include the next digit (3) from the dividend after 6, then repeat: 63 / 18

Advancing to step 2:
63 divided by 18 is 3 with a remainder of 9.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtract 54 from 63 to get 9.
Bring next digit (5) of the dividend behind the 9 and repeat the process: 95 / 18

Going ahead to step 3:
18 goes into 95 5 times with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 35.0
If we subtract 90 from 95, we get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 18

On to step 4:
50 divided by 18 is 2 with a remainder of 14.
Use 2 as the next digit of our solution. 
Result so far: 352.0
Deduct 36 from 50 and we're left with 14.
Grab the next digit (1) from the dividend, add it to 14, then carry on: 141 / 18

Let's proceed to step 5:
141 divided by 18 is 7 with a remainder of 15.
The number 7 becomes the next digit in our result. 
Result so far: 3527.0
If we subtract 126 from 141, we get 15.
Grab the next digit (7) from the dividend, add it to 15, then carry on: 157 / 18

Step 6:
If we divide 157 by 18, we get 8 and a remainder of 13.
Use 8 as the next digit of our solution. 
Result so far: 35278.0
Subtracting 144 from 157 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 7:
130 divided by 18 is 7 with a remainder of 4.
The next digit of our result is 7. 
Result so far: 35278.7
Deduct 126 from 130 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 8:
If we divide 40 by 18, we get 2 and a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 35278.72
Subtract 36 from 40 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 9:
18 can be fit into 40 2 times, resulting in a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 35278.722
If we take 36 away from 40, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

After the division, we end up with 35278.722 and a remainder of 0.0004.