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

On to step 1:
When dividing 8 by 54, we get 0 with a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Grab the next digit (7) from the dividend, add it to 8, then carry on: 87 / 54

Let's proceed to step 2:
The number 54 fits into 87 1 times, leaving a remainder of 33.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 33 after subtracting 54 from 87.
Take the next digit (6) from the dividend and append it to 33, then repeat: 336 / 54

Step 3:
When dividing 336 by 54, we get 6 with a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 16.0
Subtracting 324 from 336 leaves us with 12.
Take the next digit (5) from the dividend and append it to 12, then repeat: 125 / 54

On to step 4:
54 goes into 125 2 times with a remainder of 17.
The next digit of our result is 2. 
Result so far: 162.0
If we subtract 108 from 125, we get 17.
Bring next digit (7) of the dividend behind the 17 and repeat the process: 177 / 54

Moving on to step 5:
If we divide 177 by 54, we get 3 and a remainder of 15.
Write down 3 as next digit of the result. 
Result so far: 1623.0
If we subtract 162 from 177, we get 15.
Fetch the next digit (2) from the dividend, attach it to 15 and continue: 152 / 54

Step 6:
152 divided by 54 is 2 with a remainder of 44.
The number 2 becomes the next digit in our result. 
Result so far: 16232.0
Deduct 108 from 152 and we're left with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Moving on to step 7:
If we divide 440 by 54, we get 8 and a remainder of 8.
Record the quotient 8 as the next digit in the result. 
Result so far: 16232.8
Subtracting 432 from 440 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 8:
80 divided by 54 is 1 with a remainder of 26.
Put 1 as the next digit of the answer. 
Result so far: 16232.81
The remainder is 26 after subtracting 54 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 9:
54 can be fit into 260 4 times, resulting in a remainder of 44.
Record the quotient 4 as the next digit in the result. 
Result so far: 16232.814
Subtracting 216 from 260 leaves us with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Step 10:
54 can be fit into 440 8 times, resulting in a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 16232.8148
If we take 432 away from 440, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 11:
80 divided by 54 is 1 with a remainder of 26.
The next digit of our result is 1. 
Result so far: 16232.81481
Subtract 54 from 80 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 12:
The number 54 fits into 260 4 times, leaving a remainder of 44.
Use 4 as the next digit of our solution. 
Result so far: 16232.814814
If we take 216 away from 260, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Let's proceed to step 13:
440 divided by 54 is 8 with a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 16232.8148148
Subtract 432 from 440 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 14:
The number 54 fits into 80 1 times, leaving a remainder of 26.
Record the quotient 1 as the next digit in the result. 
Result so far: 16232.81481481
Deduct 54 from 80 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

The quotient of the division is 16232.81481481, and the remainder is 2.6e-08.