We divide 181197 by 31
We're looking to find how many times 31 goes into 181197.

Step 1:
31 goes into 1 0 times with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 31

Step 2:
The number 31 fits into 18 0 times, leaving a remainder of 18.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 18 leaves us with 18.
Grab the next digit (1) from the dividend, add it to 18, then carry on: 181 / 31

Going ahead to step 3:
When dividing 181 by 31, we get 5 with a remainder of 26.
Use 5 as the next digit of our solution. 
Result so far: 5.0
The remainder is 26 after subtracting 155 from 181.
Append the next digit (1) from the dividend to 26 and continue with: 261 / 31

Going ahead to step 4:
If we divide 261 by 31, we get 8 and a remainder of 13.
Write down 8 as next digit of the result. 
Result so far: 58.0
The remainder is 13 after subtracting 248 from 261.
Bring next digit (9) of the dividend behind the 13 and repeat the process: 139 / 31

Going ahead to step 5:
If we divide 139 by 31, we get 4 and a remainder of 15.
Use 4 as the next digit of our solution. 
Result so far: 584.0
Deduct 124 from 139 and we're left with 15.
Grab the next digit (7) from the dividend, add it to 15, then carry on: 157 / 31

Moving on to step 6:
157 divided by 31 is 5 with a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 5845.0
Subtract 155 from 157 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 7:
If we divide 20 by 31, we get 0 and a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 5845.0
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 8:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 5845.06
Subtracting 186 from 200 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 9:
31 can be fit into 140 4 times, resulting in a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 5845.064
Deduct 124 from 140 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 10:
If we divide 160 by 31, we get 5 and a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 5845.0645
Subtracting 155 from 160 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 11:
31 can be fit into 50 1 times, resulting in a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 5845.06451
If we take 31 away from 50, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 12:
The number 31 fits into 190 6 times, leaving a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 5845.064516
The remainder is 4 after subtracting 186 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 13:
The number 31 fits into 40 1 times, leaving a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 5845.0645161
Deduct 31 from 40 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.

Advancing to step 14:
If we divide 90 by 31, we get 2 and a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 5845.06451612
The remainder is 28 after subtracting 62 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The quotient of the division is 5845.06451612, and the remainder is 2.8e-08.