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

Going ahead to step 1:
5 divided by 54 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 54

On to step 2:
The number 54 fits into 51 0 times, leaving a remainder of 51.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Grab the next digit (3) from the dividend, add it to 51, then carry on: 513 / 54

On to step 3:
When dividing 513 by 54, we get 9 with a remainder of 27.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
The remainder is 27 after subtracting 486 from 513.
Grab the next digit (9) from the dividend, add it to 27, then carry on: 279 / 54

Going ahead to step 4:
The number 54 fits into 279 5 times, leaving a remainder of 9.
Record the quotient 5 as the next digit in the result. 
Result so far: 95.0
The remainder is 9 after subtracting 270 from 279.
Bring next digit (9) of the dividend behind the 9 and repeat the process: 99 / 54

On to step 5:
54 goes into 99 1 times with a remainder of 45.
Use 1 as the next digit of our solution. 
Result so far: 951.0
Subtracting 54 from 99 leaves us with 45.
Fetch the next digit (2) from the dividend, attach it to 45 and continue: 452 / 54

Moving on to step 6:
54 goes into 452 8 times with a remainder of 20.
Put 8 as the next digit of the answer. 
Result so far: 9518.0
Subtract 432 from 452 to get 20.
Grab the next digit (9) from the dividend, add it to 20, then carry on: 209 / 54

Advancing to step 7:
When dividing 209 by 54, we get 3 with a remainder of 47.
Record the quotient 3 as the next digit in the result. 
Result so far: 95183.0
If we subtract 162 from 209, we get 47.
Bring next digit (0) of the dividend behind the 47 and repeat the process: 470 / 54

Advancing to step 8:
54 goes into 470 8 times with a remainder of 38.
Record the quotient 8 as the next digit in the result. 
Result so far: 951838.0
Subtracting 432 from 470 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.

Going ahead to step 9:
54 can be fit into 380 7 times, resulting in a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 951838.7
The remainder is 2 after subtracting 378 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 10:
The number 54 fits into 20 0 times, leaving a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 951838.7
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.

Moving on to step 11:
If we divide 200 by 54, we get 3 and a remainder of 38.
Put 3 as the next digit of the answer. 
Result so far: 951838.703
Subtract 162 from 200 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Going ahead to step 12:
54 goes into 380 7 times with a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 951838.7037
Deduct 378 from 380 and we're left 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.

On to step 13:
20 divided by 54 is 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 951838.7037
Deduct 0 from 20 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.

On to step 14:
If we divide 200 by 54, we get 3 and a remainder of 38.
Write down 3 as next digit of the result. 
Result so far: 951838.703703
Subtract 162 from 200 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Let's proceed to step 15:
54 can be fit into 380 7 times, resulting in a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 951838.7037037
Subtracting 378 from 380 leaves us 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.

Moving on to step 16:
If we divide 20 by 54, we get 0 and a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 951838.7037037
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The final result is 951838.7037037 with a remainder of 2e-08.