We look at the division of 511418 by 4 
We want to divide 511418 by 4.

Let's proceed to step 1:
5 divided by 4 is 1 with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 1 after subtracting 4 from 5.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 4

Moving on to step 2:
11 divided by 4 is 2 with a remainder of 3.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
Subtracting 8 from 11 leaves us with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 4

Advancing to step 3:
4 goes into 31 7 times with a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 127.0
If we take 28 away from 31, we end up with 3.
Append the next digit (4) from the dividend to 3 and continue with: 34 / 4

Moving on to step 4:
When dividing 34 by 4, we get 8 with a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 1278.0
Subtracting 32 from 34 leaves us with 2.
Bring next digit (1) of the dividend behind the 2 and repeat the process: 21 / 4

On to step 5:
4 can be fit into 21 5 times, resulting in a remainder of 1.
Record the quotient 5 as the next digit in the result. 
Result so far: 12785.0
Subtract 20 from 21 to get 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 4

Moving on to step 6:
4 can be fit into 18 4 times, resulting in a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 127854.0
If we subtract 16 from 18, we 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.

Going ahead to step 7:
If we divide 20 by 4, we get 5 and a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 127854.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.

Moving on to step 8:
If we divide 0 by 4, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 127854.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.

Moving on to step 9:
0 divided by 4 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 127854.5
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.

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