We look at the division of 31175726 by 781 
Our goal is to divide 31175726 by 781.

Going ahead to step 1:
The number 781 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 781

Step 2:
781 can be fit into 31 0 times, resulting in a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Take the next digit (1) from the dividend and append it to 31, then repeat: 311 / 781

On to step 3:
311 divided by 781 is 0 with a remainder of 311.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 311 leaves us with 311.
Grab the next digit (7) from the dividend, add it to 311, then carry on: 3117 / 781

On to step 4:
When dividing 3117 by 781, we get 3 with a remainder of 774.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Deduct 2343 from 3117 and we're left with 774.
Include the next digit (5) from the dividend after 774, then repeat: 7745 / 781

Going ahead to step 5:
781 goes into 7745 9 times with a remainder of 716.
Use 9 as the next digit of our solution. 
Result so far: 39.0
The remainder is 716 after subtracting 7029 from 7745.
Bring next digit (7) of the dividend behind the 716 and repeat the process: 7167 / 781

Going ahead to step 6:
When dividing 7167 by 781, we get 9 with a remainder of 138.
Use 9 as the next digit of our solution. 
Result so far: 399.0
If we subtract 7029 from 7167, we get 138.
Grab the next digit (2) from the dividend, add it to 138, then carry on: 1382 / 781

Let's proceed to step 7:
781 goes into 1382 1 times with a remainder of 601.
Put 1 as the next digit of the answer. 
Result so far: 3991.0
Deduct 781 from 1382 and we're left with 601.
Append the next digit (6) from the dividend to 601 and continue with: 6016 / 781

On to step 8:
6016 divided by 781 is 7 with a remainder of 549.
Write down 7 as next digit of the result. 
Result so far: 39917.0
If we take 5467 away from 6016, we end up with 549.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5490, and continue the process.

Going ahead to step 9:
5490 divided by 781 is 7 with a remainder of 23.
The next digit of our result is 7. 
Result so far: 39917.7
Deduct 5467 from 5490 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 10:
The number 781 fits into 230 0 times, leaving a remainder of 230.
The next digit of our result is 0. 
Result so far: 39917.7
Subtract 0 from 230 to get 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

On to step 11:
781 can be fit into 2300 2 times, resulting in a remainder of 738.
Put 2 as the next digit of the answer. 
Result so far: 39917.702
If we take 1562 away from 2300, we end up with 738.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7380, and continue the process.

Moving on to step 12:
When dividing 7380 by 781, we get 9 with a remainder of 351.
The number 9 becomes the next digit in our result. 
Result so far: 39917.7029
Subtract 7029 from 7380 to get 351.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3510, and continue the process.

Going ahead to step 13:
781 goes into 3510 4 times with a remainder of 386.
Write down 4 as next digit of the result. 
Result so far: 39917.70294
The remainder is 386 after subtracting 3124 from 3510.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3860, and continue the process.

Let's proceed to step 14:
When dividing 3860 by 781, we get 4 with a remainder of 736.
Write down 4 as next digit of the result. 
Result so far: 39917.702944
If we take 3124 away from 3860, we end up with 736.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7360, and continue the process.

The quotient of the division is 39917.702944, and the remainder is 7.36e-05.