397096 divided by 54 
The aim is to understand the frequency of 54 in 397096.

Moving on to step 1:
3 divided by 54 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 54

Let's proceed to step 2:
When dividing 39 by 54, we get 0 with a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 39, we get 39.
Append the next digit (7) from the dividend to 39 and continue with: 397 / 54

Let's proceed to step 3:
The number 54 fits into 397 7 times, leaving a remainder of 19.
Use 7 as the next digit of our solution. 
Result so far: 7.0
Deduct 378 from 397 and we're left with 19.
Include the next digit (0) from the dividend after 19, then repeat: 190 / 54

Advancing to step 4:
The number 54 fits into 190 3 times, leaving a remainder of 28.
Put 3 as the next digit of the answer. 
Result so far: 73.0
The remainder is 28 after subtracting 162 from 190.
Grab the next digit (9) from the dividend, add it to 28, then carry on: 289 / 54

Advancing to step 5:
54 can be fit into 289 5 times, resulting in a remainder of 19.
Use 5 as the next digit of our solution. 
Result so far: 735.0
If we take 270 away from 289, we end up with 19.
Grab the next digit (6) from the dividend, add it to 19, then carry on: 196 / 54

Going ahead to step 6:
54 goes into 196 3 times with a remainder of 34.
Write down 3 as next digit of the result. 
Result so far: 7353.0
If we take 162 away from 196, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 7:
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: 7353.6
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.

Moving on to step 8:
54 goes into 160 2 times with a remainder of 52.
The next digit of our result is 2. 
Result so far: 7353.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.

Going ahead to step 9:
The number 54 fits into 520 9 times, leaving a remainder of 34.
The number 9 becomes the next digit in our result. 
Result so far: 7353.629
Deduct 486 from 520 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 10:
340 divided by 54 is 6 with a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 7353.6296
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.

On to step 11:
54 can be fit into 160 2 times, resulting in a remainder of 52.
The number 2 becomes the next digit in our result. 
Result so far: 7353.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:
54 can be fit into 520 9 times, resulting in a remainder of 34.
The number 9 becomes the next digit in our result. 
Result so far: 7353.629629
If we take 486 away from 520, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 13:
54 goes into 340 6 times with a remainder of 16.
Use 6 as the next digit of our solution. 
Result so far: 7353.6296296
Subtract 324 from 340 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 14:
If we divide 160 by 54, we get 2 and a remainder of 52.
The number 2 becomes the next digit in our result. 
Result so far: 7353.62962962
Subtract 108 from 160 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

After the division, we end up with 7353.62962962 and a remainder of 5.2e-08.