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

On to step 1:
18 goes into 9 0 times with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Include the next digit (7) from the dividend after 9, then repeat: 97 / 18

Moving on to step 2:
If we divide 97 by 18, we get 5 and a remainder of 7.
The next digit of our result is 5. 
Result so far: 5.0
The remainder is 7 after subtracting 90 from 97.
Append the next digit (7) from the dividend to 7 and continue with: 77 / 18

Let's proceed to step 3:
18 goes into 77 4 times with a remainder of 5.
Record the quotient 4 as the next digit in the result. 
Result so far: 54.0
Subtract 72 from 77 to get 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 18

Advancing to step 4:
The number 18 fits into 51 2 times, leaving a remainder of 15.
Put 2 as the next digit of the answer. 
Result so far: 542.0
Deduct 36 from 51 and we're left with 15.
Fetch the next digit (6) from the dividend, attach it to 15 and continue: 156 / 18

Going ahead to step 5:
If we divide 156 by 18, we get 8 and a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 5428.0
Subtracting 144 from 156 leaves us with 12.
Grab the next digit (9) from the dividend, add it to 12, then carry on: 129 / 18

Going ahead to step 6:
129 divided by 18 is 7 with a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 54287.0
If we take 126 away from 129, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 7:
When dividing 30 by 18, we get 1 with a remainder of 12.
Use 1 as the next digit of our solution. 
Result so far: 54287.1
If we take 18 away from 30, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 8:
When dividing 120 by 18, we get 6 with a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 54287.16
Subtract 108 from 120 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 9:
When dividing 120 by 18, we get 6 with a remainder of 12.
The next digit of our result is 6. 
Result so far: 54287.166
Subtract 108 from 120 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The quotient of the division is 54287.166, and the remainder is 0.0012.