We're dividing 509400 by 45 
The aim is to understand the frequency of 45 in 509400.

Moving on to step 1:
If we divide 5 by 45, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 45

Going ahead to step 2:
50 divided by 45 is 1 with a remainder of 5.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 45 from 50 and we're left with 5.
Take the next digit (9) from the dividend and append it to 5, then repeat: 59 / 45

On to step 3:
The number 45 fits into 59 1 times, leaving a remainder of 14.
Write down 1 as next digit of the result. 
Result so far: 11.0
Subtract 45 from 59 to get 14.
Append the next digit (4) from the dividend to 14 and continue with: 144 / 45

Let's proceed to step 4:
The number 45 fits into 144 3 times, leaving a remainder of 9.
Put 3 as the next digit of the answer. 
Result so far: 113.0
If we subtract 135 from 144, we get 9.
Take the next digit (0) from the dividend and append it to 9, then repeat: 90 / 45

Going ahead to step 5:
The number 45 fits into 90 2 times, leaving a remainder of 0.
The number 2 becomes the next digit in our result. 
Result so far: 1132.0
The remainder is 0 after subtracting 90 from 90.
Grab the next digit (0) from the dividend, add it to 0, then carry on: 0 / 45

Advancing to step 6:
45 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 11320.0
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 7:
The number 45 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 11320.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 8:
The number 45 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 11320.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 11320.0, and the remainder is 0.0.