640168 divided by 45 
The aim is to understand the frequency of 45 in 640168.

On to step 1:
When dividing 6 by 45, we get 0 with a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Bring next digit (4) of the dividend behind the 6 and repeat the process: 64 / 45

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
Subtracting 45 from 64 leaves us with 19.
Fetch the next digit (0) from the dividend, attach it to 19 and continue: 190 / 45

Moving on to step 3:
When dividing 190 by 45, we get 4 with a remainder of 10.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
If we subtract 180 from 190, we get 10.
Take the next digit (1) from the dividend and append it to 10, then repeat: 101 / 45

On to step 4:
45 can be fit into 101 2 times, resulting in a remainder of 11.
Put 2 as the next digit of the answer. 
Result so far: 142.0
If we take 90 away from 101, we end up with 11.
Grab the next digit (6) from the dividend, add it to 11, then carry on: 116 / 45

Let's proceed to step 5:
The number 45 fits into 116 2 times, leaving a remainder of 26.
Put 2 as the next digit of the answer. 
Result so far: 1422.0
If we subtract 90 from 116, we get 26.
Append the next digit (8) from the dividend to 26 and continue with: 268 / 45

Step 6:
If we divide 268 by 45, we get 5 and a remainder of 43.
The next digit of our result is 5. 
Result so far: 14225.0
If we take 225 away from 268, we end up with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Going ahead to step 7:
The number 45 fits into 430 9 times, leaving a remainder of 25.
Write down 9 as next digit of the result. 
Result so far: 14225.9
The remainder is 25 after subtracting 405 from 430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 8:
45 can be fit into 250 5 times, resulting in a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 14225.95
Subtracting 225 from 250 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.

Going ahead to step 9:
45 goes into 250 5 times with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 14225.955
Deduct 225 from 250 and we're left 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.

In conclusion, the division gives 14225.955 with a balance of 0.0025.