We divide 507504 by 45
We're looking to find how many times 45 goes into 507504.

Advancing to step 1:
The number 45 fits into 5 0 times, leaving a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 45

Advancing to step 2:
The number 45 fits into 50 1 times, leaving a remainder of 5.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 45 from 50, we get 5.
Include the next digit (7) from the dividend after 5, then repeat: 57 / 45

Going ahead to step 3:
The number 45 fits into 57 1 times, leaving a remainder of 12.
Use 1 as the next digit of our solution. 
Result so far: 11.0
The remainder is 12 after subtracting 45 from 57.
Grab the next digit (5) from the dividend, add it to 12, then carry on: 125 / 45

Let's proceed to step 4:
The number 45 fits into 125 2 times, leaving a remainder of 35.
Use 2 as the next digit of our solution. 
Result so far: 112.0
The remainder is 35 after subtracting 90 from 125.
Include the next digit (0) from the dividend after 35, then repeat: 350 / 45

Advancing to step 5:
When dividing 350 by 45, we get 7 with a remainder of 35.
Use 7 as the next digit of our solution. 
Result so far: 1127.0
Subtract 315 from 350 to get 35.
Append the next digit (4) from the dividend to 35 and continue with: 354 / 45

Going ahead to step 6:
The number 45 fits into 354 7 times, leaving a remainder of 39.
Write down 7 as next digit of the result. 
Result so far: 11277.0
If we subtract 315 from 354, we get 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Step 7:
The number 45 fits into 390 8 times, leaving a remainder of 30.
The next digit of our result is 8. 
Result so far: 11277.8
The remainder is 30 after subtracting 360 from 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 8:
If we divide 300 by 45, we get 6 and a remainder of 30.
Record the quotient 6 as the next digit in the result. 
Result so far: 11277.86
Subtract 270 from 300 to 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.

On to step 9:
If we divide 300 by 45, we get 6 and a remainder of 30.
Record the quotient 6 as the next digit in the result. 
Result so far: 11277.866
Subtract 270 from 300 to 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.

After the division, we end up with 11277.866 and a remainder of 0.003.