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

Step 1:
If we divide 5 by 18, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 18

Moving on to step 2:
The number 18 fits into 58 3 times, leaving a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtracting 54 from 58 leaves us with 4.
Fetch the next digit (3) from the dividend, attach it to 4 and continue: 43 / 18

On to step 3:
43 divided by 18 is 2 with a remainder of 7.
Record the quotient 2 as the next digit in the result. 
Result so far: 32.0
If we take 36 away from 43, we end up with 7.
Take the next digit (5) from the dividend and append it to 7, then repeat: 75 / 18

On to step 4:
75 divided by 18 is 4 with a remainder of 3.
The number 4 becomes the next digit in our result. 
Result so far: 324.0
Subtract 72 from 75 to get 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 18

Let's proceed to step 5:
The number 18 fits into 36 2 times, leaving a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 3242.0
Subtract 36 from 36 to get 0.
Fetch the next digit (5) from the dividend, attach it to 0 and continue: 5 / 18

Moving on to step 6:
5 divided by 18 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 32420.0
Deduct 0 from 5 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
18 goes into 50 2 times with a remainder of 14.
Write down 2 as next digit of the result. 
Result so far: 32420.2
If we subtract 36 from 50, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 8:
18 goes into 140 7 times with a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 32420.27
Subtract 126 from 140 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 9:
The number 18 fits into 140 7 times, leaving a remainder of 14.
Use 7 as the next digit of our solution. 
Result so far: 32420.277
If we take 126 away from 140, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The final result is 32420.277 with a remainder of 0.0014.