5056827 divided by 627 
The aim is to understand the frequency of 627 in 5056827.

Going ahead to step 1:
If we divide 5 by 627, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 627

Advancing to step 2:
When dividing 50 by 627, we get 0 with a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 50 leaves us with 50.
Append the next digit (5) from the dividend to 50 and continue with: 505 / 627

Going ahead to step 3:
627 can be fit into 505 0 times, resulting in a remainder of 505.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 505 leaves us with 505.
Bring next digit (6) of the dividend behind the 505 and repeat the process: 5056 / 627

Moving on to step 4:
627 goes into 5056 8 times with a remainder of 40.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Subtract 5016 from 5056 to get 40.
Bring next digit (8) of the dividend behind the 40 and repeat the process: 408 / 627

Advancing to step 5:
627 can be fit into 408 0 times, resulting in a remainder of 408.
Write down 0 as next digit of the result. 
Result so far: 80.0
If we subtract 0 from 408, we get 408.
Append the next digit (2) from the dividend to 408 and continue with: 4082 / 627

Step 6:
627 goes into 4082 6 times with a remainder of 320.
Write down 6 as next digit of the result. 
Result so far: 806.0
Deduct 3762 from 4082 and we're left with 320.
Take the next digit (7) from the dividend and append it to 320, then repeat: 3207 / 627

Moving on to step 7:
If we divide 3207 by 627, we get 5 and a remainder of 72.
The next digit of our result is 5. 
Result so far: 8065.0
If we subtract 3135 from 3207, we get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Step 8:
720 divided by 627 is 1 with a remainder of 93.
Write down 1 as next digit of the result. 
Result so far: 8065.1
Subtract 627 from 720 to get 93.
Since there are no more digits in the dividend, we add a zero to the remainder making it 930, and continue the process.

Let's proceed to step 9:
If we divide 930 by 627, we get 1 and a remainder of 303.
Use 1 as the next digit of our solution. 
Result so far: 8065.11
If we subtract 627 from 930, we get 303.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3030, and continue the process.

The final outcome is 8065.11, with a leftover of 0.303.