507123 ÷ 45 
We're looking to find how many times 45 goes into 507123.

On to step 1:
5 divided by 45 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 45

On to step 2:
45 goes into 50 1 times with a remainder of 5.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 45 from 50 to get 5.
Bring next digit (7) of the dividend behind the 5 and repeat the process: 57 / 45

Let's proceed to step 3:
The number 45 fits into 57 1 times, leaving a remainder of 12.
The next digit of our result is 1. 
Result so far: 11.0
Subtracting 45 from 57 leaves us with 12.
Fetch the next digit (1) from the dividend, attach it to 12 and continue: 121 / 45

Moving on to step 4:
121 divided by 45 is 2 with a remainder of 31.
The next digit of our result is 2. 
Result so far: 112.0
The remainder is 31 after subtracting 90 from 121.
Fetch the next digit (2) from the dividend, attach it to 31 and continue: 312 / 45

Step 5:
312 divided by 45 is 6 with a remainder of 42.
Use 6 as the next digit of our solution. 
Result so far: 1126.0
If we subtract 270 from 312, we get 42.
Include the next digit (3) from the dividend after 42, then repeat: 423 / 45

Let's proceed to step 6:
45 goes into 423 9 times with a remainder of 18.
The next digit of our result is 9. 
Result so far: 11269.0
The remainder is 18 after subtracting 405 from 423.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 7:
180 divided by 45 is 4 with a remainder of 0.
Put 4 as the next digit of the answer. 
Result so far: 11269.4
Subtracting 180 from 180 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.

On to step 8:
If we divide 0 by 45, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 11269.4
Subtract 0 from 0 to 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.

Step 9:
If we divide 0 by 45, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 11269.4
Subtract 0 from 0 to 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.

After the division, we end up with 11269.4 and a remainder of 0.0.