We divide 295641 by 31
Our goal is to divide 295641 by 31.

Let's proceed to step 1:
When dividing 2 by 31, we get 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Grab the next digit (9) from the dividend, add it to 2, then carry on: 29 / 31

On to step 2:
The number 31 fits into 29 0 times, leaving a remainder of 29.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 29, we end up with 29.
Fetch the next digit (5) from the dividend, attach it to 29 and continue: 295 / 31

Moving on to step 3:
295 divided by 31 is 9 with a remainder of 16.
Use 9 as the next digit of our solution. 
Result so far: 9.0
If we take 279 away from 295, we end up with 16.
Fetch the next digit (6) from the dividend, attach it to 16 and continue: 166 / 31

Let's proceed to step 4:
31 can be fit into 166 5 times, resulting in a remainder of 11.
The number 5 becomes the next digit in our result. 
Result so far: 95.0
Deduct 155 from 166 and we're left with 11.
Include the next digit (4) from the dividend after 11, then repeat: 114 / 31

Let's proceed to step 5:
31 can be fit into 114 3 times, resulting in a remainder of 21.
Write down 3 as next digit of the result. 
Result so far: 953.0
If we take 93 away from 114, we end up with 21.
Append the next digit (1) from the dividend to 21 and continue with: 211 / 31

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

Advancing to step 7:
31 can be fit into 250 8 times, resulting in a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 9536.8
Deduct 248 from 250 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 8:
When dividing 20 by 31, we get 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 9536.8
If we take 0 away from 20, we end up with 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:
31 can be fit into 200 6 times, resulting in a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 9536.806
If we subtract 186 from 200, we get 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 10:
The number 31 fits into 140 4 times, leaving a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 9536.8064
Subtracting 124 from 140 leaves us 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.

Let's proceed to step 11:
When dividing 160 by 31, we get 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 9536.80645
Deduct 155 from 160 and we're left 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.

Step 12:
50 divided by 31 is 1 with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 9536.806451
Deduct 31 from 50 and we're left 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.

Going ahead to step 13:
When dividing 190 by 31, we get 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 9536.8064516
If we take 186 away from 190, we end up with 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:
The number 31 fits into 40 1 times, leaving a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 9536.80645161
If we take 31 away from 40, we end up 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.

After the division, we end up with 9536.80645161 and a remainder of 9e-09.