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

Step 1:
5 divided by 45 is 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 45

Advancing to step 2:
45 can be fit into 50 1 times, resulting in a remainder of 5.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 45 from 50, we get 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 45

Moving on to step 3:
45 can be fit into 50 1 times, resulting in a remainder of 5.
Record the quotient 1 as the next digit in the result. 
Result so far: 11.0
Subtracting 45 from 50 leaves us with 5.
Fetch the next digit (3) from the dividend, attach it to 5 and continue: 53 / 45

Let's proceed to step 4:
53 divided by 45 is 1 with a remainder of 8.
Put 1 as the next digit of the answer. 
Result so far: 111.0
Subtract 45 from 53 to get 8.
Take the next digit (4) from the dividend and append it to 8, then repeat: 84 / 45

Going ahead to step 5:
When dividing 84 by 45, we get 1 with a remainder of 39.
Record the quotient 1 as the next digit in the result. 
Result so far: 1111.0
Deduct 45 from 84 and we're left with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Going ahead to step 6:
The number 45 fits into 390 8 times, leaving a remainder of 30.
The number 8 becomes the next digit in our result. 
Result so far: 1111.8
If we subtract 360 from 390, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 7:
300 divided by 45 is 6 with a remainder of 30.
The next digit of our result is 6. 
Result so far: 1111.86
Deduct 270 from 300 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 8:
300 divided by 45 is 6 with a remainder of 30.
Put 6 as the next digit of the answer. 
Result so far: 1111.866
Subtracting 270 from 300 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

The final result is 1111.866 with a remainder of 0.003.