We're dividing 120781 by 54 
The aim is to understand the frequency of 54 in 120781.

On to step 1:
1 divided by 54 is 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 54

On to step 2:
54 can be fit into 12 0 times, resulting in a remainder of 12.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 12 and we're left with 12.
Take the next digit (0) from the dividend and append it to 12, then repeat: 120 / 54

On to step 3:
54 goes into 120 2 times with a remainder of 12.
Write down 2 as next digit of the result. 
Result so far: 2.0
Deduct 108 from 120 and we're left with 12.
Append the next digit (7) from the dividend to 12 and continue with: 127 / 54

Let's proceed to step 4:
If we divide 127 by 54, we get 2 and a remainder of 19.
Record the quotient 2 as the next digit in the result. 
Result so far: 22.0
Subtracting 108 from 127 leaves us with 19.
Fetch the next digit (8) from the dividend, attach it to 19 and continue: 198 / 54

Advancing to step 5:
198 divided by 54 is 3 with a remainder of 36.
Write down 3 as next digit of the result. 
Result so far: 223.0
If we subtract 162 from 198, we get 36.
Take the next digit (1) from the dividend and append it to 36, then repeat: 361 / 54

Step 6:
361 divided by 54 is 6 with a remainder of 37.
The next digit of our result is 6. 
Result so far: 2236.0
If we subtract 324 from 361, we get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Let's proceed to step 7:
54 can be fit into 370 6 times, resulting in a remainder of 46.
Put 6 as the next digit of the answer. 
Result so far: 2236.6
If we take 324 away from 370, we end up with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Moving on to step 8:
When dividing 460 by 54, we get 8 with a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 2236.68
Deduct 432 from 460 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 9:
54 can be fit into 280 5 times, resulting in a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 2236.685
The remainder is 10 after subtracting 270 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 10:
The number 54 fits into 100 1 times, leaving a remainder of 46.
Use 1 as the next digit of our solution. 
Result so far: 2236.6851
Subtract 54 from 100 to get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Going ahead to step 11:
If we divide 460 by 54, we get 8 and a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 2236.68518
Deduct 432 from 460 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 12:
54 goes into 280 5 times with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 2236.685185
If we take 270 away from 280, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 13:
54 can be fit into 100 1 times, resulting in a remainder of 46.
Record the quotient 1 as the next digit in the result. 
Result so far: 2236.6851851
Subtracting 54 from 100 leaves us with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

On to step 14:
54 can be fit into 460 8 times, resulting in a remainder of 28.
The number 8 becomes the next digit in our result. 
Result so far: 2236.68518518
Subtracting 432 from 460 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Our division results in 2236.68518518 with a remaining 2.8e-08.