We're dividing 573222 by 45 
We want to divide 573222 by 45.

Step 1:
5 divided by 45 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Take the next digit (7) from the dividend and append it to 5, then repeat: 57 / 45

Advancing to step 2:
The number 45 fits into 57 1 times, leaving a remainder of 12.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 45 away from 57, we end up with 12.
Take the next digit (3) from the dividend and append it to 12, then repeat: 123 / 45

Going ahead to step 3:
123 divided by 45 is 2 with a remainder of 33.
Use 2 as the next digit of our solution. 
Result so far: 12.0
Subtract 90 from 123 to get 33.
Fetch the next digit (2) from the dividend, attach it to 33 and continue: 332 / 45

Going ahead to step 4:
If we divide 332 by 45, we get 7 and a remainder of 17.
The number 7 becomes the next digit in our result. 
Result so far: 127.0
Subtracting 315 from 332 leaves us with 17.
Append the next digit (2) from the dividend to 17 and continue with: 172 / 45

On to step 5:
If we divide 172 by 45, we get 3 and a remainder of 37.
Write down 3 as next digit of the result. 
Result so far: 1273.0
Subtract 135 from 172 to get 37.
Include the next digit (2) from the dividend after 37, then repeat: 372 / 45

Let's proceed to step 6:
The number 45 fits into 372 8 times, leaving a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 12738.0
If we take 360 away from 372, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 7:
If we divide 120 by 45, we get 2 and a remainder of 30.
Use 2 as the next digit of our solution. 
Result so far: 12738.2
Subtract 90 from 120 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.

Moving on to step 8:
45 can be fit into 300 6 times, resulting in a remainder of 30.
Write down 6 as next digit of the result. 
Result so far: 12738.26
The remainder is 30 after subtracting 270 from 300.
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:
45 can be fit into 300 6 times, resulting in a remainder of 30.
Write down 6 as next digit of the result. 
Result so far: 12738.266
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.

The quotient of the division is 12738.266, and the remainder is 0.003.