We're dividing 18173 by 1 
The aim is to understand the frequency of 1 in 18173.

On to step 1:
When dividing 1 by 1, we get 1 with a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 1 from 1 to get 0.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 1

Step 2:
8 divided by 1 is 8 with a remainder of 0.
Put 8 as the next digit of the answer. 
Result so far: 18.0
Deduct 8 from 8 and we're left with 0.
Take the next digit (1) from the dividend and append it to 0, then repeat: 1 / 1

On to step 3:
If we divide 1 by 1, we get 1 and a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 181.0
If we take 1 away from 1, we end up with 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 1

Going ahead to step 4:
When dividing 7 by 1, we get 7 with a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 1817.0
The remainder is 0 after subtracting 7 from 7.
Include the next digit (3) from the dividend after 0, then repeat: 3 / 1

Going ahead to step 5:
1 goes into 3 3 times with a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 18173.0
Deduct 3 from 3 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 6:
1 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 18173.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 7:
0 divided by 1 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 18173.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 18173.0, with a leftover of 0.0.