Let's divide 510256 by 4
We're looking to find how many times 4 goes into 510256.

On to step 1:
4 can be fit into 5 1 times, resulting in a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 4 from 5, we get 1.
Grab the next digit (1) from the dividend, add it to 1, then carry on: 11 / 4

Advancing to step 2:
11 divided by 4 is 2 with a remainder of 3.
Use 2 as the next digit of our solution. 
Result so far: 12.0
The remainder is 3 after subtracting 8 from 11.
Fetch the next digit (0) from the dividend, attach it to 3 and continue: 30 / 4

Moving on to step 3:
4 can be fit into 30 7 times, resulting in a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 127.0
Subtracting 28 from 30 leaves us with 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 4

Going ahead to step 4:
If we divide 22 by 4, we get 5 and a remainder of 2.
The number 5 becomes the next digit in our result. 
Result so far: 1275.0
Deduct 20 from 22 and we're left with 2.
Fetch the next digit (5) from the dividend, attach it to 2 and continue: 25 / 4

Step 5:
25 divided by 4 is 6 with a remainder of 1.
Use 6 as the next digit of our solution. 
Result so far: 12756.0
Deduct 24 from 25 and we're left with 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 4

Step 6:
If we divide 16 by 4, we get 4 and a remainder of 0.
The next digit of our result is 4. 
Result so far: 127564.0
The remainder is 0 after subtracting 16 from 16.
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.
The number 0 becomes the next digit in our result. 
Result so far: 127564.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.

Step 8:
The number 4 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 127564.0
Deduct 0 from 0 and we're left 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.

In conclusion, the division gives 127564.0 with a balance of 0.0.