We look at the division of 511258 by 3 
Our goal is to divide 511258 by 3.

Step 1:
3 goes into 5 1 times with a remainder of 2.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 3 from 5 and we're left with 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 3

Advancing to step 2:
3 can be fit into 21 7 times, resulting in a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 17.0
Deduct 21 from 21 and we're left with 0.
Bring next digit (1) of the dividend behind the 0 and repeat the process: 1 / 3

Let's proceed to step 3:
1 divided by 3 is 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 170.0
The remainder is 1 after subtracting 0 from 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 3

Advancing to step 4:
3 goes into 12 4 times with a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 1704.0
Deduct 12 from 12 and we're left with 0.
Include the next digit (5) from the dividend after 0, then repeat: 5 / 3

Let's proceed to step 5:
The number 3 fits into 5 1 times, leaving a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 17041.0
Subtract 3 from 5 to get 2.
Include the next digit (8) from the dividend after 2, then repeat: 28 / 3

Step 6:
3 can be fit into 28 9 times, resulting in a remainder of 1.
The next digit of our result is 9. 
Result so far: 170419.0
If we subtract 27 from 28, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
When dividing 10 by 3, we get 3 with a remainder of 1.
The next digit of our result is 3. 
Result so far: 170419.3
The remainder is 1 after subtracting 9 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 8:
3 can be fit into 10 3 times, resulting in a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 170419.33
The remainder is 1 after subtracting 9 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

The final outcome is 170419.33, with a leftover of 0.001.