We're dividing 331161 by 2 
Our goal is to divide 331161 by 2.

Step 1:
3 divided by 2 is 1 with a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 2 from 3 and we're left with 1.
Grab the next digit (3) from the dividend, add it to 1, then carry on: 13 / 2

Advancing to step 2:
If we divide 13 by 2, we get 6 and a remainder of 1.
The next digit of our result is 6. 
Result so far: 16.0
Subtracting 12 from 13 leaves us with 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 2

Let's proceed to step 3:
The number 2 fits into 11 5 times, leaving a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 165.0
The remainder is 1 after subtracting 10 from 11.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 2

Step 4:
2 goes into 11 5 times with a remainder of 1.
Use 5 as the next digit of our solution. 
Result so far: 1655.0
If we take 10 away from 11, we end up with 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 2

Advancing to step 5:
When dividing 16 by 2, we get 8 with a remainder of 0.
Record the quotient 8 as the next digit in the result. 
Result so far: 16558.0
If we take 16 away from 16, we end up with 0.
Take the next digit (1) from the dividend and append it to 0, then repeat: 1 / 2

On to step 6:
2 goes into 1 0 times with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 165580.0
Deduct 0 from 1 and we're left 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.

Step 7:
10 divided by 2 is 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 165580.5
If we take 10 away from 10, 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 8:
If we divide 0 by 2, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 165580.5
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.

On to step 9:
When dividing 0 by 2, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 165580.5
Subtract 0 from 0 to 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.

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