Let's divide 167386 by 54
The aim is to understand the frequency of 54 in 167386.

Advancing to step 1:
The number 54 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 54

Advancing to step 2:
If we divide 16 by 54, we get 0 and a remainder of 16.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 16, we get 16.
Fetch the next digit (7) from the dividend, attach it to 16 and continue: 167 / 54

On to step 3:
The number 54 fits into 167 3 times, leaving a remainder of 5.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtracting 162 from 167 leaves us with 5.
Grab the next digit (3) from the dividend, add it to 5, then carry on: 53 / 54

Advancing to step 4:
If we divide 53 by 54, we get 0 and a remainder of 53.
Write down 0 as next digit of the result. 
Result so far: 30.0
Deduct 0 from 53 and we're left with 53.
Bring next digit (8) of the dividend behind the 53 and repeat the process: 538 / 54

Let's proceed to step 5:
54 can be fit into 538 9 times, resulting in a remainder of 52.
The number 9 becomes the next digit in our result. 
Result so far: 309.0
Subtracting 486 from 538 leaves us with 52.
Grab the next digit (6) from the dividend, add it to 52, then carry on: 526 / 54

On to step 6:
When dividing 526 by 54, we get 9 with a remainder of 40.
Record the quotient 9 as the next digit in the result. 
Result so far: 3099.0
The remainder is 40 after subtracting 486 from 526.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 7:
54 goes into 400 7 times with a remainder of 22.
Use 7 as the next digit of our solution. 
Result so far: 3099.7
If we take 378 away from 400, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 8:
54 goes into 220 4 times with a remainder of 4.
Record the quotient 4 as the next digit in the result. 
Result so far: 3099.74
Subtracting 216 from 220 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 9:
The number 54 fits into 40 0 times, leaving a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 3099.74
The remainder is 40 after subtracting 0 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 10:
When dividing 400 by 54, we get 7 with a remainder of 22.
Put 7 as the next digit of the answer. 
Result so far: 3099.7407
If we take 378 away from 400, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 11:
220 divided by 54 is 4 with a remainder of 4.
The next digit of our result is 4. 
Result so far: 3099.74074
Subtract 216 from 220 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 12:
54 can be fit into 40 0 times, resulting in a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 3099.74074
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 13:
When dividing 400 by 54, we get 7 with a remainder of 22.
The number 7 becomes the next digit in our result. 
Result so far: 3099.7407407
The remainder is 22 after subtracting 378 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 14:
220 divided by 54 is 4 with a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 3099.74074074
If we take 216 away from 220, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The quotient of the division is 3099.74074074, and the remainder is 4e-09.