Let's divide 181161 by 31
We're looking to find how many times 31 goes into 181161.

Advancing to step 1:
If we divide 1 by 31, we get 0 and a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 31

On to step 2:
31 can be fit into 18 0 times, resulting in a remainder of 18.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 18 leaves us with 18.
Include the next digit (1) from the dividend after 18, then repeat: 181 / 31

On to step 3:
31 can be fit into 181 5 times, resulting in a remainder of 26.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we subtract 155 from 181, we get 26.
Take the next digit (1) from the dividend and append it to 26, then repeat: 261 / 31

Going ahead to step 4:
261 divided by 31 is 8 with a remainder of 13.
Write down 8 as next digit of the result. 
Result so far: 58.0
Subtract 248 from 261 to get 13.
Include the next digit (6) from the dividend after 13, then repeat: 136 / 31

Going ahead to step 5:
If we divide 136 by 31, we get 4 and a remainder of 12.
Use 4 as the next digit of our solution. 
Result so far: 584.0
Subtract 124 from 136 to get 12.
Bring next digit (1) of the dividend behind the 12 and repeat the process: 121 / 31

Step 6:
31 goes into 121 3 times with a remainder of 28.
Put 3 as the next digit of the answer. 
Result so far: 5843.0
Deduct 93 from 121 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 7:
31 can be fit into 280 9 times, resulting in a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 5843.9
The remainder is 1 after subtracting 279 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 8:
31 goes into 10 0 times with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 5843.9
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 9:
If we divide 100 by 31, we get 3 and a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 5843.903
If we subtract 93 from 100, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 10:
The number 31 fits into 70 2 times, leaving a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 5843.9032
If we take 62 away from 70, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 11:
31 can be fit into 80 2 times, resulting in a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 5843.90322
If we take 62 away from 80, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final outcome is 5843.90322, with a leftover of 1.8e-05.