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

Step 1:
If we divide 6 by 54, we get 0 and a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Fetch the next digit (3) from the dividend, attach it to 6 and continue: 63 / 54

On to step 2:
63 divided by 54 is 1 with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 9 after subtracting 54 from 63.
Append the next digit (8) from the dividend to 9 and continue with: 98 / 54

Advancing to step 3:
If we divide 98 by 54, we get 1 and a remainder of 44.
The next digit of our result is 1. 
Result so far: 11.0
If we subtract 54 from 98, we get 44.
Fetch the next digit (6) from the dividend, attach it to 44 and continue: 446 / 54

Moving on to step 4:
When dividing 446 by 54, we get 8 with a remainder of 14.
Put 8 as the next digit of the answer. 
Result so far: 118.0
The remainder is 14 after subtracting 432 from 446.
Grab the next digit (8) from the dividend, add it to 14, then carry on: 148 / 54

Step 5:
When dividing 148 by 54, we get 2 with a remainder of 40.
The next digit of our result is 2. 
Result so far: 1182.0
If we take 108 away from 148, we end up with 40.
Fetch the next digit (7) from the dividend, attach it to 40 and continue: 407 / 54

Advancing to step 6:
When dividing 407 by 54, we get 7 with a remainder of 29.
The number 7 becomes the next digit in our result. 
Result so far: 11827.0
The remainder is 29 after subtracting 378 from 407.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Advancing to step 7:
The number 54 fits into 290 5 times, leaving a remainder of 20.
Write down 5 as next digit of the result. 
Result so far: 11827.5
Deduct 270 from 290 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 8:
200 divided by 54 is 3 with a remainder of 38.
Put 3 as the next digit of the answer. 
Result so far: 11827.53
The remainder is 38 after subtracting 162 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 9:
The number 54 fits into 380 7 times, leaving a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 11827.537
If we take 378 away from 380, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 10:
The number 54 fits into 20 0 times, leaving a remainder of 20.
The next digit of our result is 0. 
Result so far: 11827.537
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 11:
When dividing 200 by 54, we get 3 with a remainder of 38.
The next digit of our result is 3. 
Result so far: 11827.53703
If we take 162 away from 200, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Step 12:
If we divide 380 by 54, we get 7 and a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 11827.537037
If we take 378 away from 380, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 13:
20 divided by 54 is 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 11827.537037
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 14:
54 goes into 200 3 times with a remainder of 38.
Put 3 as the next digit of the answer. 
Result so far: 11827.53703703
Subtracting 162 from 200 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

In conclusion, the division gives 11827.53703703 with a balance of 3.8e-08.