Let's divide 179951 by 31
Let's see how many times 31 fits into 179951.

Step 1:
The number 31 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 31

Going ahead to step 2:
When dividing 17 by 31, we get 0 with a remainder of 17.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 17 leaves us with 17.
Take the next digit (9) from the dividend and append it to 17, then repeat: 179 / 31

Going ahead to step 3:
31 can be fit into 179 5 times, resulting in a remainder of 24.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Deduct 155 from 179 and we're left with 24.
Append the next digit (9) from the dividend to 24 and continue with: 249 / 31

On to step 4:
When dividing 249 by 31, we get 8 with a remainder of 1.
The next digit of our result is 8. 
Result so far: 58.0
Subtract 248 from 249 to get 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 31

On to step 5:
If we divide 15 by 31, we get 0 and a remainder of 15.
Put 0 as the next digit of the answer. 
Result so far: 580.0
Deduct 0 from 15 and we're left with 15.
Fetch the next digit (1) from the dividend, attach it to 15 and continue: 151 / 31

Going ahead to step 6:
The number 31 fits into 151 4 times, leaving a remainder of 27.
Record the quotient 4 as the next digit in the result. 
Result so far: 5804.0
If we take 124 away from 151, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 7:
If we divide 270 by 31, we get 8 and a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 5804.8
Subtract 248 from 270 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 8:
The number 31 fits into 220 7 times, leaving a remainder of 3.
The next digit of our result is 7. 
Result so far: 5804.87
Subtracting 217 from 220 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 9:
31 goes into 30 0 times with a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 5804.87
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 10:
31 goes into 300 9 times with a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 5804.8709
The remainder is 21 after subtracting 279 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 11:
When dividing 210 by 31, we get 6 with a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 5804.87096
If we subtract 186 from 210, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 12:
240 divided by 31 is 7 with a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 5804.870967
Subtract 217 from 240 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 13:
230 divided by 31 is 7 with a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 5804.8709677
Subtract 217 from 230 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

After the division, we end up with 5804.8709677 and a remainder of 1.3e-07.