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

Moving on to step 1:
If we divide 8 by 54, we get 0 and a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 54

Advancing to step 2:
The number 54 fits into 87 1 times, leaving a remainder of 33.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 54 from 87, we get 33.
Grab the next digit (8) from the dividend, add it to 33, then carry on: 338 / 54

Going ahead to step 3:
When dividing 338 by 54, we get 6 with a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 16.0
Deduct 324 from 338 and we're left with 14.
Fetch the next digit (5) from the dividend, attach it to 14 and continue: 145 / 54

Moving on to step 4:
When dividing 145 by 54, we get 2 with a remainder of 37.
The next digit of our result is 2. 
Result so far: 162.0
Deduct 108 from 145 and we're left with 37.
Grab the next digit (0) from the dividend, add it to 37, then carry on: 370 / 54

Advancing to step 5:
When dividing 370 by 54, we get 6 with a remainder of 46.
Use 6 as the next digit of our solution. 
Result so far: 1626.0
The remainder is 46 after subtracting 324 from 370.
Bring next digit (6) of the dividend behind the 46 and repeat the process: 466 / 54

Step 6:
If we divide 466 by 54, we get 8 and a remainder of 34.
Put 8 as the next digit of the answer. 
Result so far: 16268.0
Subtract 432 from 466 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.

On to step 7:
54 goes into 340 6 times with a remainder of 16.
Use 6 as the next digit of our solution. 
Result so far: 16268.6
The remainder is 16 after subtracting 324 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 8:
When dividing 160 by 54, we get 2 with a remainder of 52.
Write down 2 as next digit of the result. 
Result so far: 16268.62
If we take 108 away from 160, we end up 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.

Let's proceed to step 9:
54 goes into 520 9 times with a remainder of 34.
The number 9 becomes the next digit in our result. 
Result so far: 16268.629
If we subtract 486 from 520, we 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.

On to step 10:
When dividing 340 by 54, we get 6 with a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 16268.6296
Deduct 324 from 340 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 11:
When dividing 160 by 54, we get 2 with a remainder of 52.
Write down 2 as next digit of the result. 
Result so far: 16268.62962
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.

Moving on to step 12:
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: 16268.629629
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.

Let's proceed to step 13:
When dividing 340 by 54, we get 6 with a remainder of 16.
Use 6 as the next digit of our solution. 
Result so far: 16268.6296296
The remainder is 16 after subtracting 324 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 14:
If we divide 160 by 54, we get 2 and a remainder of 52.
Put 2 as the next digit of the answer. 
Result so far: 16268.62962962
Deduct 108 from 160 and we're left 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.

In conclusion, the division gives 16268.62962962 with a balance of 5.2e-08.