We're dividing 504958 by 3 
Let's see how many times 3 fits into 504958.

Let's proceed to step 1:
When dividing 5 by 3, we get 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 2 after subtracting 3 from 5.
Include the next digit (0) from the dividend after 2, then repeat: 20 / 3

Advancing to step 2:
When dividing 20 by 3, we get 6 with a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
Subtract 18 from 20 to get 2.
Include the next digit (4) from the dividend after 2, then repeat: 24 / 3

Moving on to step 3:
The number 3 fits into 24 8 times, leaving a remainder of 0.
The next digit of our result is 8. 
Result so far: 168.0
Subtracting 24 from 24 leaves us with 0.
Fetch the next digit (9) from the dividend, attach it to 0 and continue: 9 / 3

On to step 4:
3 goes into 9 3 times with a remainder of 0.
The number 3 becomes the next digit in our result. 
Result so far: 1683.0
The remainder is 0 after subtracting 9 from 9.
Append the next digit (5) from the dividend to 0 and continue with: 5 / 3

Going ahead to step 5:
3 can be fit into 5 1 times, resulting in a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 16831.0
Deduct 3 from 5 and we're left with 2.
Grab the next digit (8) from the dividend, add it to 2, then carry on: 28 / 3

Moving on to step 6:
When dividing 28 by 3, we get 9 with a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 168319.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.

Moving on to step 7:
When dividing 10 by 3, we get 3 with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 168319.3
Deduct 9 from 10 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 8:
When dividing 10 by 3, we get 3 with a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 168319.33
If we take 9 away from 10, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Our division results in 168319.33 with a remaining 0.001.