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

On to step 1:
1 divided by 54 is 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 54

Going ahead to step 2:
If we divide 12 by 54, we get 0 and a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 12, we get 12.
Take the next digit (5) from the dividend and append it to 12, then repeat: 125 / 54

On to step 3:
The number 54 fits into 125 2 times, leaving a remainder of 17.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 108 away from 125, we end up with 17.
Append the next digit (8) from the dividend to 17 and continue with: 178 / 54

Let's proceed to step 4:
54 can be fit into 178 3 times, resulting in a remainder of 16.
Put 3 as the next digit of the answer. 
Result so far: 23.0
If we take 162 away from 178, we end up with 16.
Take the next digit (4) from the dividend and append it to 16, then repeat: 164 / 54

Advancing to step 5:
54 can be fit into 164 3 times, resulting in a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 233.0
Deduct 162 from 164 and we're left with 2.
Grab the next digit (9) from the dividend, add it to 2, then carry on: 29 / 54

Let's proceed to step 6:
When dividing 29 by 54, we get 0 with a remainder of 29.
Write down 0 as next digit of the result. 
Result so far: 2330.0
Deduct 0 from 29 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Going ahead to step 7:
When dividing 290 by 54, we get 5 with a remainder of 20.
The number 5 becomes the next digit in our result. 
Result so far: 2330.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.

Moving on to step 8:
54 goes into 200 3 times with a remainder of 38.
Write down 3 as next digit of the result. 
Result so far: 2330.53
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.

Advancing to step 9:
If we divide 380 by 54, we get 7 and a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 2330.537
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.

On to step 10:
20 divided by 54 is 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 2330.537
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.

Advancing to step 11:
When dividing 200 by 54, we get 3 with a remainder of 38.
Write down 3 as next digit of the result. 
Result so far: 2330.53703
If we subtract 162 from 200, we 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.

Moving on to step 12:
When dividing 380 by 54, we get 7 with a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 2330.537037
If we subtract 378 from 380, we get 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:
If we divide 20 by 54, we get 0 and a remainder of 20.
The next digit of our result is 0. 
Result so far: 2330.537037
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.

Advancing 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: 2330.53703703
Deduct 162 from 200 and we're left 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.

The final outcome is 2330.53703703, with a leftover of 3.8e-08.