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

Let's proceed to step 1:
When dividing 3 by 54, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 54

Let's proceed to step 2:
If we divide 33 by 54, we get 0 and a remainder of 33.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 33, we get 33.
Grab the next digit (0) from the dividend, add it to 33, then carry on: 330 / 54

Let's proceed to step 3:
54 can be fit into 330 6 times, resulting in a remainder of 6.
The next digit of our result is 6. 
Result so far: 6.0
If we take 324 away from 330, we end up with 6.
Fetch the next digit (3) from the dividend, attach it to 6 and continue: 63 / 54

Going ahead to step 4:
63 divided by 54 is 1 with a remainder of 9.
The next digit of our result is 1. 
Result so far: 61.0
Subtract 54 from 63 to get 9.
Fetch the next digit (1) from the dividend, attach it to 9 and continue: 91 / 54

Advancing to step 5:
54 goes into 91 1 times with a remainder of 37.
Write down 1 as next digit of the result. 
Result so far: 611.0
Subtract 54 from 91 to get 37.
Bring next digit (6) of the dividend behind the 37 and repeat the process: 376 / 54

Let's proceed to step 6:
The number 54 fits into 376 6 times, leaving a remainder of 52.
The next digit of our result is 6. 
Result so far: 6116.0
The remainder is 52 after subtracting 324 from 376.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

On to step 7:
The number 54 fits into 520 9 times, leaving a remainder of 34.
Use 9 as the next digit of our solution. 
Result so far: 6116.9
The remainder is 34 after subtracting 486 from 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 8:
340 divided by 54 is 6 with a remainder of 16.
The number 6 becomes the next digit in our result. 
Result so far: 6116.96
If we subtract 324 from 340, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 9:
The number 54 fits into 160 2 times, leaving a remainder of 52.
Write down 2 as next digit of the result. 
Result so far: 6116.962
Subtract 108 from 160 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

On to step 10:
54 can be fit into 520 9 times, resulting in a remainder of 34.
Write down 9 as next digit of the result. 
Result so far: 6116.9629
Subtract 486 from 520 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 11:
If we divide 340 by 54, we get 6 and a remainder of 16.
Use 6 as the next digit of our solution. 
Result so far: 6116.96296
If we subtract 324 from 340, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 12:
The number 54 fits into 160 2 times, leaving a remainder of 52.
Use 2 as the next digit of our solution. 
Result so far: 6116.962962
Subtracting 108 from 160 leaves us with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

On to step 13:
The number 54 fits into 520 9 times, leaving a remainder of 34.
Put 9 as the next digit of the answer. 
Result so far: 6116.9629629
The remainder is 34 after subtracting 486 from 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Let's proceed to step 14:
340 divided by 54 is 6 with a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 6116.96296296
If we subtract 324 from 340, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The final result is 6116.96296296 with a remainder of 1.6e-08.