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

Advancing to step 1:
If we divide 9 by 18, we get 0 and a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Grab the next digit (7) from the dividend, add it to 9, then carry on: 97 / 18

Let's proceed to step 2:
97 divided by 18 is 5 with a remainder of 7.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Deduct 90 from 97 and we're left with 7.
Append the next digit (3) from the dividend to 7 and continue with: 73 / 18

Going ahead to step 3:
When dividing 73 by 18, we get 4 with a remainder of 1.
The next digit of our result is 4. 
Result so far: 54.0
If we subtract 72 from 73, we get 1.
Bring next digit (3) of the dividend behind the 1 and repeat the process: 13 / 18

Advancing to step 4:
18 goes into 13 0 times with a remainder of 13.
The number 0 becomes the next digit in our result. 
Result so far: 540.0
Subtract 0 from 13 to get 13.
Fetch the next digit (9) from the dividend, attach it to 13 and continue: 139 / 18

Going ahead to step 5:
18 can be fit into 139 7 times, resulting in a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 5407.0
Deduct 126 from 139 and we're left with 13.
Include the next digit (7) from the dividend after 13, then repeat: 137 / 18

On to step 6:
18 goes into 137 7 times with a remainder of 11.
Put 7 as the next digit of the answer. 
Result so far: 54077.0
Subtract 126 from 137 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Let's proceed to step 7:
18 goes into 110 6 times with a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 54077.6
If we take 108 away from 110, we end up 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:
If we divide 20 by 18, we get 1 and a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 54077.61
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.

On to step 9:
20 divided by 18 is 1 with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 54077.611
If we subtract 18 from 20, we get 2.
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 54077.611 with a remainder of 0.0002.