We divide 309771 by 18
We want to divide 309771 by 18.

Advancing to step 1:
When dividing 3 by 18, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Grab the next digit (0) from the dividend, add it to 3, then carry on: 30 / 18

Going ahead to step 2:
When dividing 30 by 18, we get 1 with a remainder of 12.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 18 away from 30, we end up with 12.
Bring next digit (9) of the dividend behind the 12 and repeat the process: 129 / 18

Step 3:
18 can be fit into 129 7 times, resulting in a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
Deduct 126 from 129 and we're left with 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 18

Going ahead to step 4:
18 goes into 37 2 times with a remainder of 1.
The number 2 becomes the next digit in our result. 
Result so far: 172.0
Subtract 36 from 37 to get 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 18

Advancing to step 5:
18 can be fit into 17 0 times, resulting in a remainder of 17.
The next digit of our result is 0. 
Result so far: 1720.0
The remainder is 17 after subtracting 0 from 17.
Grab the next digit (1) from the dividend, add it to 17, then carry on: 171 / 18

Let's proceed to step 6:
If we divide 171 by 18, we get 9 and a remainder of 9.
Record the quotient 9 as the next digit in the result. 
Result so far: 17209.0
Deduct 162 from 171 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 7:
90 divided by 18 is 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 17209.5
If we subtract 90 from 90, 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:
The number 18 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 17209.5
The remainder is 0 after subtracting 0 from 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 9:
0 divided by 18 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 17209.5
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.

The final outcome is 17209.5, with a leftover of 0.0.