504242 ÷ 4 
Let's see how many times 4 fits into 504242.

Advancing to step 1:
4 goes into 5 1 times with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 1 after subtracting 4 from 5.
Grab the next digit (0) from the dividend, add it to 1, then carry on: 10 / 4

On to step 2:
When dividing 10 by 4, we get 2 with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
The remainder is 2 after subtracting 8 from 10.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 4

Moving on to step 3:
24 divided by 4 is 6 with a remainder of 0.
The number 6 becomes the next digit in our result. 
Result so far: 126.0
Deduct 24 from 24 and we're left with 0.
Grab the next digit (2) from the dividend, add it to 0, then carry on: 2 / 4

Going ahead to step 4:
4 can be fit into 2 0 times, resulting in a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 1260.0
If we take 0 away from 2, we end up with 2.
Grab the next digit (4) from the dividend, add it to 2, then carry on: 24 / 4

Going ahead to step 5:
4 can be fit into 24 6 times, resulting in a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 12606.0
Subtract 24 from 24 to get 0.
Grab the next digit (2) from the dividend, add it to 0, then carry on: 2 / 4

On to step 6:
If we divide 2 by 4, we get 0 and a remainder of 2.
The next digit of our result is 0. 
Result so far: 126060.0
Subtract 0 from 2 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 7:
When dividing 20 by 4, we get 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 126060.5
Subtract 20 from 20 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.

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

Let's proceed to step 9:
When dividing 0 by 4, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 126060.5
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.

Our division results in 126060.5 with a remaining 0.0.