We divide 318702 by 6
Let's see how many times 6 fits into 318702.

Going ahead to step 1:
3 divided by 6 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 6

Advancing to step 2:
6 goes into 31 5 times with a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we take 30 away from 31, we end up with 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 6

Advancing to step 3:
6 goes into 18 3 times with a remainder of 0.
Write down 3 as next digit of the result. 
Result so far: 53.0
The remainder is 0 after subtracting 18 from 18.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 6

Let's proceed to step 4:
6 goes into 7 1 times with a remainder of 1.
The next digit of our result is 1. 
Result so far: 531.0
If we subtract 6 from 7, we get 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 6

Advancing to step 5:
6 can be fit into 10 1 times, resulting in a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 5311.0
Deduct 6 from 10 and we're left with 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 6

On to step 6:
When dividing 42 by 6, we get 7 with a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 53117.0
The remainder is 0 after subtracting 42 from 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 7:
When dividing 0 by 6, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 53117.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.

Going ahead to step 8:
The number 6 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 53117.0
Subtracting 0 from 0 leaves us 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.

The quotient of the division is 53117.0, and the remainder is 0.0.