511508 divided by 4 
We're looking to find how many times 4 goes into 511508.

Step 1:
If we divide 5 by 4, we get 1 and a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 4 from 5 leaves us with 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 4

Step 2:
4 can be fit into 11 2 times, resulting in 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.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 4

Moving on to step 3:
31 divided by 4 is 7 with a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 127.0
Deduct 28 from 31 and we're left with 3.
Bring next digit (5) of the dividend behind the 3 and repeat the process: 35 / 4

Going ahead to step 4:
35 divided by 4 is 8 with a remainder of 3.
The number 8 becomes the next digit in our result. 
Result so far: 1278.0
Subtract 32 from 35 to get 3.
Append the next digit (0) from the dividend to 3 and continue with: 30 / 4

Advancing to step 5:
The number 4 fits into 30 7 times, leaving a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 12787.0
Subtract 28 from 30 to get 2.
Grab the next digit (8) from the dividend, add it to 2, then carry on: 28 / 4

On to step 6:
The number 4 fits into 28 7 times, leaving a remainder of 0.
The next digit of our result is 7. 
Result so far: 127877.0
Subtract 28 from 28 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.

Let's proceed to step 7:
When dividing 0 by 4, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 127877.0
Subtract 0 from 0 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.

Moving on 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: 127877.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.

After the division, we end up with 127877.0 and a remainder of 0.0.