We look at the division of 654785 by 52 
The aim is to understand the frequency of 52 in 654785.

Let's proceed to step 1:
The number 52 fits into 6 0 times, leaving a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 6, we get 6.
Grab the next digit (5) from the dividend, add it to 6, then carry on: 65 / 52

Let's proceed to step 2:
65 divided by 52 is 1 with a remainder of 13.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 52 away from 65, we end up with 13.
Append the next digit (4) from the dividend to 13 and continue with: 134 / 52

Advancing to step 3:
If we divide 134 by 52, we get 2 and a remainder of 30.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
Subtracting 104 from 134 leaves us with 30.
Bring next digit (7) of the dividend behind the 30 and repeat the process: 307 / 52

On to step 4:
307 divided by 52 is 5 with a remainder of 47.
Write down 5 as next digit of the result. 
Result so far: 125.0
Deduct 260 from 307 and we're left with 47.
Append the next digit (8) from the dividend to 47 and continue with: 478 / 52

Let's proceed to step 5:
52 goes into 478 9 times with a remainder of 10.
Write down 9 as next digit of the result. 
Result so far: 1259.0
If we take 468 away from 478, we end up with 10.
Bring next digit (5) of the dividend behind the 10 and repeat the process: 105 / 52

Step 6:
If we divide 105 by 52, we get 2 and a remainder of 1.
Record the quotient 2 as the next digit in the result. 
Result so far: 12592.0
If we subtract 104 from 105, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
10 divided by 52 is 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 12592.0
If we take 0 away from 10, 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.

On to step 8:
The number 52 fits into 100 1 times, leaving a remainder of 48.
Write down 1 as next digit of the result. 
Result so far: 12592.01
Subtract 52 from 100 to get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

On to step 9:
If we divide 480 by 52, we get 9 and a remainder of 12.
Put 9 as the next digit of the answer. 
Result so far: 12592.019
If we subtract 468 from 480, we 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.

On to step 10:
The number 52 fits into 120 2 times, leaving a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 12592.0192
Deduct 104 from 120 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.

On to step 11:
52 can be fit into 160 3 times, resulting in a remainder of 4.
Write down 3 as next digit of the result. 
Result so far: 12592.01923
Deduct 156 from 160 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 12:
If we divide 40 by 52, we get 0 and a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 12592.01923
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 13:
When dividing 400 by 52, we get 7 with a remainder of 36.
Put 7 as the next digit of the answer. 
Result so far: 12592.0192307
The remainder is 36 after subtracting 364 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 14:
52 goes into 360 6 times with a remainder of 48.
The number 6 becomes the next digit in our result. 
Result so far: 12592.01923076
Subtract 312 from 360 to get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

The final outcome is 12592.01923076, with a leftover of 4.8e-08.