We're dividing 181771 by 6 
We want to divide 181771 by 6.

On to step 1:
1 divided by 6 is 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 6

Advancing to step 2:
The number 6 fits into 18 3 times, leaving a remainder of 0.
The next digit of our result is 3. 
Result so far: 3.0
Subtract 18 from 18 to get 0.
Append the next digit (1) from the dividend to 0 and continue with: 1 / 6

On to step 3:
The number 6 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 30.0
The remainder is 1 after subtracting 0 from 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 6

Step 4:
The number 6 fits into 17 2 times, leaving a remainder of 5.
The number 2 becomes the next digit in our result. 
Result so far: 302.0
Subtract 12 from 17 to get 5.
Grab the next digit (7) from the dividend, add it to 5, then carry on: 57 / 6

Step 5:
If we divide 57 by 6, we get 9 and a remainder of 3.
The next digit of our result is 9. 
Result so far: 3029.0
If we subtract 54 from 57, we get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 6

On to step 6:
When dividing 31 by 6, we get 5 with a remainder of 1.
Write down 5 as next digit of the result. 
Result so far: 30295.0
If we take 30 away from 31, 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.

Let's proceed to step 7:
If we divide 10 by 6, we get 1 and a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 30295.1
If we subtract 6 from 10, we 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.

Step 8:
6 can be fit into 40 6 times, resulting in a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 30295.16
If we take 36 away from 40, 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.

Let's proceed to step 9:
When dividing 40 by 6, we get 6 with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 30295.166
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.

Our division results in 30295.166 with a remaining 0.0004.