We're dividing 506264 by 4 
We're looking to find how many times 4 goes into 506264.

Moving on to step 1:
When dividing 5 by 4, we get 1 with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 4 from 5, we get 1.
Bring next digit (0) of the dividend behind the 1 and repeat the process: 10 / 4

Advancing to step 2:
If we divide 10 by 4, we get 2 and a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 12.0
Deduct 8 from 10 and we're left with 2.
Grab the next digit (6) from the dividend, add it to 2, then carry on: 26 / 4

Let's proceed to step 3:
4 goes into 26 6 times with a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 126.0
Deduct 24 from 26 and we're left with 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 4

Moving on to step 4:
If we divide 22 by 4, we get 5 and a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 1265.0
The remainder is 2 after subtracting 20 from 22.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 4

Advancing to step 5:
26 divided by 4 is 6 with a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 12656.0
The remainder is 2 after subtracting 24 from 26.
Append the next digit (4) from the dividend to 2 and continue with: 24 / 4

On to step 6:
When dividing 24 by 4, we get 6 with a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 126566.0
The remainder is 0 after subtracting 24 from 24.
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 7:
4 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 126566.0
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.

Moving on to step 8:
When dividing 0 by 4, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 126566.0
The remainder is 0 after subtracting 0 from 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 126566.0 with a remaining 0.0.