317931 ÷ 3 
We want to figure out the number of times 317931 can be divided by 3.

On to step 1:
The number 3 fits into 3 1 times, leaving a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 3 away from 3, we end up with 0.
Include the next digit (1) from the dividend after 0, then repeat: 1 / 3

Moving on to step 2:
3 can be fit into 1 0 times, resulting in a remainder of 1.
The next digit of our result is 0. 
Result so far: 10.0
The remainder is 1 after subtracting 0 from 1.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 3

Step 3:
3 goes into 17 5 times with a remainder of 2.
Put 5 as the next digit of the answer. 
Result so far: 105.0
The remainder is 2 after subtracting 15 from 17.
Append the next digit (9) from the dividend to 2 and continue with: 29 / 3

Step 4:
3 goes into 29 9 times with a remainder of 2.
The next digit of our result is 9. 
Result so far: 1059.0
If we subtract 27 from 29, we get 2.
Grab the next digit (3) from the dividend, add it to 2, then carry on: 23 / 3

Step 5:
3 can be fit into 23 7 times, resulting in a remainder of 2.
The next digit of our result is 7. 
Result so far: 10597.0
Subtract 21 from 23 to get 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 3

On to step 6:
The number 3 fits into 21 7 times, leaving a remainder of 0.
The number 7 becomes the next digit in our result. 
Result so far: 105977.0
If we take 21 away from 21, 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.

Advancing to step 7:
3 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 105977.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.

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

In conclusion, the division gives 105977.0 with a balance of 0.0.