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

On to step 1:
If we divide 9 by 54, we get 0 and a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Include the next digit (0) from the dividend after 9, then repeat: 90 / 54

Step 2:
90 divided by 54 is 1 with a remainder of 36.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 54 from 90 to get 36.
Append the next digit (2) from the dividend to 36 and continue with: 362 / 54

Advancing to step 3:
362 divided by 54 is 6 with a remainder of 38.
The number 6 becomes the next digit in our result. 
Result so far: 16.0
If we subtract 324 from 362, we get 38.
Bring next digit (9) of the dividend behind the 38 and repeat the process: 389 / 54

Step 4:
54 goes into 389 7 times with a remainder of 11.
Put 7 as the next digit of the answer. 
Result so far: 167.0
If we subtract 378 from 389, we get 11.
Take the next digit (3) from the dividend and append it to 11, then repeat: 113 / 54

Going ahead to step 5:
The number 54 fits into 113 2 times, leaving a remainder of 5.
Use 2 as the next digit of our solution. 
Result so far: 1672.0
The remainder is 5 after subtracting 108 from 113.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 54

Let's proceed to step 6:
If we divide 58 by 54, we get 1 and a remainder of 4.
Use 1 as the next digit of our solution. 
Result so far: 16721.0
Subtracting 54 from 58 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.

On to step 7:
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: 16721.0
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 8:
When dividing 400 by 54, we get 7 with a remainder of 22.
Use 7 as the next digit of our solution. 
Result so far: 16721.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.

Advancing to step 9:
The number 54 fits into 220 4 times, leaving a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 16721.074
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 10:
When dividing 40 by 54, we get 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 16721.074
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.

Advancing to step 11:
54 can be fit into 400 7 times, resulting in a remainder of 22.
The next digit of our result is 7. 
Result so far: 16721.07407
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.

Let's proceed to step 12:
54 can be fit into 220 4 times, resulting in a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 16721.074074
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.

Let's proceed to step 13:
If we divide 40 by 54, we get 0 and a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 16721.074074
Subtracting 0 from 40 leaves us 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.

Let's proceed to step 14:
The number 54 fits into 400 7 times, leaving a remainder of 22.
Use 7 as the next digit of our solution. 
Result so far: 16721.07407407
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.

The final result is 16721.07407407 with a remainder of 2.2e-08.