We look at the division of 104386 by 54 
The aim is to understand the frequency of 54 in 104386.

On to step 1:
When dividing 1 by 54, we get 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Include the next digit (0) from the dividend after 1, then repeat: 10 / 54

Let's proceed to step 2:
10 divided by 54 is 0 with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 10, we get 10.
Append the next digit (4) from the dividend to 10 and continue with: 104 / 54

Let's proceed to step 3:
The number 54 fits into 104 1 times, leaving a remainder of 50.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 54 from 104, we get 50.
Fetch the next digit (3) from the dividend, attach it to 50 and continue: 503 / 54

On to step 4:
54 can be fit into 503 9 times, resulting in a remainder of 17.
The number 9 becomes the next digit in our result. 
Result so far: 19.0
The remainder is 17 after subtracting 486 from 503.
Bring next digit (8) of the dividend behind the 17 and repeat the process: 178 / 54

Going ahead to step 5:
When dividing 178 by 54, we get 3 with a remainder of 16.
Write down 3 as next digit of the result. 
Result so far: 193.0
If we subtract 162 from 178, we get 16.
Append the next digit (6) from the dividend to 16 and continue with: 166 / 54

Advancing to step 6:
166 divided by 54 is 3 with a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 1933.0
Subtracting 162 from 166 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.

Step 7:
When dividing 40 by 54, we get 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 1933.0
If we take 0 away from 40, we end up 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 8:
If we divide 400 by 54, we get 7 and a remainder of 22.
Record the quotient 7 as the next digit in the result. 
Result so far: 1933.07
Subtracting 378 from 400 leaves us 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.

Moving on to step 9:
When dividing 220 by 54, we get 4 with a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 1933.074
Deduct 216 from 220 and we're left 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.

On to step 10:
54 goes into 40 0 times with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 1933.074
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 11:
400 divided by 54 is 7 with a remainder of 22.
Write down 7 as next digit of the result. 
Result so far: 1933.07407
Subtracting 378 from 400 leaves us 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 12:
54 goes into 220 4 times with a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 1933.074074
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.

On to step 13:
When dividing 40 by 54, we get 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 1933.074074
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.

Moving on to step 14:
54 can be fit into 400 7 times, resulting in a remainder of 22.
Put 7 as the next digit of the answer. 
Result so far: 1933.07407407
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.

Our division results in 1933.07407407 with a remaining 2.2e-08.