We look at the division of 640627 by 45 
The aim is to understand the frequency of 45 in 640627.

On to step 1:
The number 45 fits into 6 0 times, leaving a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Fetch the next digit (4) from the dividend, attach it to 6 and continue: 64 / 45

Moving on to step 2:
64 divided by 45 is 1 with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 45 from 64 to get 19.
Include the next digit (0) from the dividend after 19, then repeat: 190 / 45

Advancing to step 3:
If we divide 190 by 45, we get 4 and a remainder of 10.
Use 4 as the next digit of our solution. 
Result so far: 14.0
If we subtract 180 from 190, we get 10.
Fetch the next digit (6) from the dividend, attach it to 10 and continue: 106 / 45

Going ahead to step 4:
When dividing 106 by 45, we get 2 with a remainder of 16.
The next digit of our result is 2. 
Result so far: 142.0
Subtracting 90 from 106 leaves us with 16.
Fetch the next digit (2) from the dividend, attach it to 16 and continue: 162 / 45

Moving on to step 5:
If we divide 162 by 45, we get 3 and a remainder of 27.
Write down 3 as next digit of the result. 
Result so far: 1423.0
If we take 135 away from 162, we end up with 27.
Take the next digit (7) from the dividend and append it to 27, then repeat: 277 / 45

Moving on to step 6:
277 divided by 45 is 6 with a remainder of 7.
The number 6 becomes the next digit in our result. 
Result so far: 14236.0
If we take 270 away from 277, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 7:
70 divided by 45 is 1 with a remainder of 25.
The next digit of our result is 1. 
Result so far: 14236.1
Subtracting 45 from 70 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 8:
250 divided by 45 is 5 with a remainder of 25.
The next digit of our result is 5. 
Result so far: 14236.15
The remainder is 25 after subtracting 225 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 9:
45 can be fit into 250 5 times, resulting in a remainder of 25.
The next digit of our result is 5. 
Result so far: 14236.155
Subtract 225 from 250 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

The quotient of the division is 14236.155, and the remainder is 0.0025.