We divide 508188 by 3
Our goal is to divide 508188 by 3.

Going ahead to step 1:
3 can be fit into 5 1 times, resulting in 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.
Take the next digit (0) from the dividend and append it to 2, then repeat: 20 / 3

On to step 2:
When dividing 20 by 3, we get 6 with a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 16.0
Subtract 18 from 20 to get 2.
Append the next digit (8) from the dividend to 2 and continue with: 28 / 3

Advancing to step 3:
28 divided by 3 is 9 with a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 169.0
Subtracting 27 from 28 leaves us with 1.
Append the next digit (1) from the dividend to 1 and continue with: 11 / 3

Advancing to step 4:
The number 3 fits into 11 3 times, leaving a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 1693.0
Deduct 9 from 11 and we're left with 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 3

On to step 5:
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: 16939.0
The remainder is 1 after subtracting 27 from 28.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 3

Going ahead to step 6:
When dividing 18 by 3, we get 6 with a remainder of 0.
Write down 6 as next digit of the result. 
Result so far: 169396.0
Subtract 18 from 18 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.

Going ahead to step 7:
If we divide 0 by 3, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 169396.0
If we subtract 0 from 0, we 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.

Going ahead to step 8:
3 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 169396.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.

Our division results in 169396.0 with a remaining 0.0.