We're dividing 165179 by 54 
The aim is to understand the frequency of 54 in 165179.

Step 1:
When dividing 1 by 54, we get 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 54

On to step 2:
The number 54 fits into 16 0 times, leaving a remainder of 16.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 16 and we're left with 16.
Take the next digit (5) from the dividend and append it to 16, then repeat: 165 / 54

Step 3:
165 divided by 54 is 3 with a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtracting 162 from 165 leaves us with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 54

Step 4:
When dividing 31 by 54, we get 0 with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 30.0
If we take 0 away from 31, we end up with 31.
Include the next digit (7) from the dividend after 31, then repeat: 317 / 54

Moving on to step 5:
When dividing 317 by 54, we get 5 with a remainder of 47.
Record the quotient 5 as the next digit in the result. 
Result so far: 305.0
If we take 270 away from 317, we end up with 47.
Append the next digit (9) from the dividend to 47 and continue with: 479 / 54

On to step 6:
If we divide 479 by 54, we get 8 and a remainder of 47.
Put 8 as the next digit of the answer. 
Result so far: 3058.0
If we subtract 432 from 479, we get 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Advancing to step 7:
470 divided by 54 is 8 with a remainder of 38.
Write down 8 as next digit of the result. 
Result so far: 3058.8
The remainder is 38 after subtracting 432 from 470.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 8:
54 can be fit into 380 7 times, resulting in a remainder of 2.
The next digit of our result is 7. 
Result so far: 3058.87
If we take 378 away from 380, 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.

Moving on to step 9:
54 goes into 20 0 times with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 3058.87
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 10:
200 divided by 54 is 3 with a remainder of 38.
Put 3 as the next digit of the answer. 
Result so far: 3058.8703
Subtracting 162 from 200 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Going ahead to step 11:
When dividing 380 by 54, we get 7 with a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 3058.87037
Subtracting 378 from 380 leaves us 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 12:
The number 54 fits into 20 0 times, leaving a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 3058.87037
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 13:
54 goes into 200 3 times with a remainder of 38.
Record the quotient 3 as the next digit in the result. 
Result so far: 3058.8703703
If we take 162 away from 200, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Step 14:
When dividing 380 by 54, we get 7 with a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 3058.87037037
If we subtract 378 from 380, 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 outcome is 3058.87037037, with a leftover of 2e-09.