We're dividing 295641 by 31 
Our goal is to divide 295641 by 31.

Step 1:
31 goes into 2 0 times with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Append the next digit (9) from the dividend to 2 and continue with: 29 / 31

Step 2:
31 can be fit into 29 0 times, resulting in a remainder of 29.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 29 after subtracting 0 from 29.
Append the next digit (5) from the dividend to 29 and continue with: 295 / 31

Let's proceed to step 3:
295 divided by 31 is 9 with a remainder of 16.
The next digit of our result is 9. 
Result so far: 9.0
If we take 279 away from 295, we end up with 16.
Append the next digit (6) from the dividend to 16 and continue with: 166 / 31

Step 4:
31 goes into 166 5 times with a remainder of 11.
Use 5 as the next digit of our solution. 
Result so far: 95.0
If we take 155 away from 166, we end up with 11.
Include the next digit (4) from the dividend after 11, then repeat: 114 / 31

On to step 5:
31 can be fit into 114 3 times, resulting in a remainder of 21.
Record the quotient 3 as the next digit in the result. 
Result so far: 953.0
If we subtract 93 from 114, we get 21.
Fetch the next digit (1) from the dividend, attach it to 21 and continue: 211 / 31

Advancing to step 6:
The number 31 fits into 211 6 times, leaving a remainder of 25.
Use 6 as the next digit of our solution. 
Result so far: 9536.0
Subtracting 186 from 211 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 7:
When dividing 250 by 31, we get 8 with a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 9536.8
If we subtract 248 from 250, we 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 8:
If we divide 20 by 31, we get 0 and a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 9536.8
Subtract 0 from 20 to 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.

On to step 9:
If we divide 200 by 31, we get 6 and a remainder of 14.
The next digit of our result is 6. 
Result so far: 9536.806
Deduct 186 from 200 and we're left 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.

Advancing to step 10:
If we divide 140 by 31, we get 4 and a remainder of 16.
The next digit of our result is 4. 
Result so far: 9536.8064
Subtract 124 from 140 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 11:
31 can be fit into 160 5 times, resulting in a remainder of 5.
The next digit of our result is 5. 
Result so far: 9536.80645
If we take 155 away from 160, we end up 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.

Advancing to step 12:
If we divide 50 by 31, we get 1 and a remainder of 19.
The next digit of our result is 1. 
Result so far: 9536.806451
If we subtract 31 from 50, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 13:
31 goes into 190 6 times with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 9536.8064516
Subtract 186 from 190 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 14:
If we divide 40 by 31, we get 1 and a remainder of 9.
The next digit of our result is 1. 
Result so far: 9536.80645161
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.

The final result is 9536.80645161 with a remainder of 9e-09.