307171 divided by 6 
Our goal is to divide 307171 by 6.

On to step 1:
The number 6 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (0) from the dividend, attach it to 3 and continue: 30 / 6

Step 2:
The number 6 fits into 30 5 times, leaving a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 5.0
The remainder is 0 after subtracting 30 from 30.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 6

Let's proceed to step 3:
The number 6 fits into 7 1 times, leaving a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 51.0
Deduct 6 from 7 and we're left with 1.
Grab the next digit (1) from the dividend, add it to 1, then carry on: 11 / 6

Let's proceed to step 4:
11 divided by 6 is 1 with a remainder of 5.
Write down 1 as next digit of the result. 
Result so far: 511.0
Deduct 6 from 11 and we're left with 5.
Grab the next digit (7) from the dividend, add it to 5, then carry on: 57 / 6

Let's proceed to step 5:
When dividing 57 by 6, we get 9 with a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 5119.0
If we take 54 away from 57, we end up with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 6

Advancing to step 6:
31 divided by 6 is 5 with a remainder of 1.
The next digit of our result is 5. 
Result so far: 51195.0
If we subtract 30 from 31, 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:
If we divide 10 by 6, we get 1 and a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 51195.1
If we take 6 away from 10, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 8:
6 can be fit into 40 6 times, resulting in a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 51195.16
Subtract 36 from 40 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 9:
If we divide 40 by 6, we get 6 and a remainder of 4.
The next digit of our result is 6. 
Result so far: 51195.166
The remainder is 4 after subtracting 36 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

In conclusion, the division gives 51195.166 with a balance of 0.0004.