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

Let's proceed to step 1:
5 divided by 54 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 54

Moving on to step 2:
If we divide 58 by 54, we get 1 and a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 54 from 58 to get 4.
Grab the next digit (1) from the dividend, add it to 4, then carry on: 41 / 54

Step 3:
54 can be fit into 41 0 times, resulting in a remainder of 41.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
If we take 0 away from 41, we end up with 41.
Include the next digit (3) from the dividend after 41, then repeat: 413 / 54

Going ahead to step 4:
If we divide 413 by 54, we get 7 and a remainder of 35.
Write down 7 as next digit of the result. 
Result so far: 107.0
Subtracting 378 from 413 leaves us with 35.
Bring next digit (5) of the dividend behind the 35 and repeat the process: 355 / 54

Going ahead to step 5:
54 goes into 355 6 times with a remainder of 31.
Put 6 as the next digit of the answer. 
Result so far: 1076.0
Subtracting 324 from 355 leaves us with 31.
Take the next digit (0) from the dividend and append it to 31, then repeat: 310 / 54

On to step 6:
If we divide 310 by 54, we get 5 and a remainder of 40.
Put 5 as the next digit of the answer. 
Result so far: 10765.0
If we take 270 away from 310, 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.

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: 10765.7
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.

On to step 8:
When dividing 220 by 54, we get 4 with a remainder of 4.
The next digit of our result is 4. 
Result so far: 10765.74
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 9:
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: 10765.74
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.

Step 10:
54 goes into 400 7 times with a remainder of 22.
Record the quotient 7 as the next digit in the result. 
Result so far: 10765.7407
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.

Going ahead to step 11:
When dividing 220 by 54, we get 4 with a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 10765.74074
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.

Step 12:
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: 10765.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.

Going ahead to step 13:
54 goes into 400 7 times with a remainder of 22.
The next digit of our result is 7. 
Result so far: 10765.7407407
Deduct 378 from 400 and we're left 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 14:
54 goes into 220 4 times with a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 10765.74074074
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.

In conclusion, the division gives 10765.74074074 with a balance of 4e-09.