We're dividing 504596 by 20 
Let's see how many times 20 fits into 504596.

On to step 1:
5 divided by 20 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 20

Going ahead to step 2:
20 goes into 50 2 times with a remainder of 10.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 40 from 50 leaves us with 10.
Grab the next digit (4) from the dividend, add it to 10, then carry on: 104 / 20

Advancing to step 3:
When dividing 104 by 20, we get 5 with a remainder of 4.
Put 5 as the next digit of the answer. 
Result so far: 25.0
If we take 100 away from 104, we end up with 4.
Grab the next digit (5) from the dividend, add it to 4, then carry on: 45 / 20

Moving on to step 4:
The number 20 fits into 45 2 times, leaving a remainder of 5.
Put 2 as the next digit of the answer. 
Result so far: 252.0
The remainder is 5 after subtracting 40 from 45.
Grab the next digit (9) from the dividend, add it to 5, then carry on: 59 / 20

Advancing to step 5:
20 goes into 59 2 times with a remainder of 19.
The next digit of our result is 2. 
Result so far: 2522.0
Deduct 40 from 59 and we're left with 19.
Fetch the next digit (6) from the dividend, attach it to 19 and continue: 196 / 20

Advancing to step 6:
20 goes into 196 9 times with a remainder of 16.
The number 9 becomes the next digit in our result. 
Result so far: 25229.0
If we take 180 away from 196, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 7:
If we divide 160 by 20, we get 8 and a remainder of 0.
The next digit of our result is 8. 
Result so far: 25229.8
If we subtract 160 from 160, 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.

Going ahead to step 8:
When dividing 0 by 20, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 25229.8
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.

Going ahead to step 9:
The number 20 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 25229.8
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.

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