We look at the division of 9710859 by 54 
The aim is to understand the frequency of 54 in 9710859.

On to step 1:
If we divide 9 by 54, we get 0 and a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Take the next digit (7) from the dividend and append it to 9, then repeat: 97 / 54

Moving on to step 2:
54 can be fit into 97 1 times, resulting in a remainder of 43.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 54 from 97 and we're left with 43.
Include the next digit (1) from the dividend after 43, then repeat: 431 / 54

Step 3:
431 divided by 54 is 7 with a remainder of 53.
Put 7 as the next digit of the answer. 
Result so far: 17.0
If we take 378 away from 431, we end up with 53.
Bring next digit (0) of the dividend behind the 53 and repeat the process: 530 / 54

Going ahead to step 4:
The number 54 fits into 530 9 times, leaving a remainder of 44.
Write down 9 as next digit of the result. 
Result so far: 179.0
Subtracting 486 from 530 leaves us with 44.
Include the next digit (8) from the dividend after 44, then repeat: 448 / 54

Going ahead to step 5:
If we divide 448 by 54, we get 8 and a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 1798.0
If we take 432 away from 448, we end up with 16.
Fetch the next digit (5) from the dividend, attach it to 16 and continue: 165 / 54

Advancing to step 6:
If we divide 165 by 54, we get 3 and a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 17983.0
Subtract 162 from 165 to get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 54

On to step 7:
39 divided by 54 is 0 with a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 179830.0
The remainder is 39 after subtracting 0 from 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Advancing to step 8:
The number 54 fits into 390 7 times, leaving a remainder of 12.
The next digit of our result is 7. 
Result so far: 179830.7
Subtracting 378 from 390 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 9:
54 goes into 120 2 times with a remainder of 12.
Use 2 as the next digit of our solution. 
Result so far: 179830.72
Subtract 108 from 120 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 10:
54 goes into 120 2 times with a remainder of 12.
Use 2 as the next digit of our solution. 
Result so far: 179830.722
The remainder is 12 after subtracting 108 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

After the division, we end up with 179830.722 and a remainder of 0.0012.