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

Advancing to step 1:
18 can be fit into 9 0 times, resulting in a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Grab the next digit (7) from the dividend, add it to 9, then carry on: 97 / 18

Let's proceed to step 2:
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: 5.0
If we take 90 away from 97, we end up with 7.
Take the next digit (0) from the dividend and append it to 7, then repeat: 70 / 18

Advancing to step 3:
If we divide 70 by 18, we get 3 and a remainder of 16.
Put 3 as the next digit of the answer. 
Result so far: 53.0
Subtract 54 from 70 to get 16.
Fetch the next digit (3) from the dividend, attach it to 16 and continue: 163 / 18

Let's proceed to step 4:
18 can be fit into 163 9 times, resulting in a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 539.0
Deduct 162 from 163 and we're left with 1.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 18

Step 5:
11 divided by 18 is 0 with a remainder of 11.
The number 0 becomes the next digit in our result. 
Result so far: 5390.0
Deduct 0 from 11 and we're left with 11.
Grab the next digit (8) from the dividend, add it to 11, then carry on: 118 / 18

Going ahead to step 6:
If we divide 118 by 18, we get 6 and a remainder of 10.
Write down 6 as next digit of the result. 
Result so far: 53906.0
The remainder is 10 after subtracting 108 from 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 7:
18 can be fit into 100 5 times, resulting in a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 53906.5
If we subtract 90 from 100, we 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.

Going ahead to step 8:
The number 18 fits into 100 5 times, leaving a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 53906.55
If we take 90 away from 100, we end up 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.

After the division, we end up with 53906.55 and a remainder of 0.01.