We look at the division of 31042589 by 785 
We want to figure out the number of times 31042589 can be divided by 785.

On to step 1:
785 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 785

Going ahead to step 2:
31 divided by 785 is 0 with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Take the next digit (0) from the dividend and append it to 31, then repeat: 310 / 785

On to step 3:
785 can be fit into 310 0 times, resulting in a remainder of 310.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 310 after subtracting 0 from 310.
Append the next digit (4) from the dividend to 310 and continue with: 3104 / 785

Going ahead to step 4:
The number 785 fits into 3104 3 times, leaving a remainder of 749.
The next digit of our result is 3. 
Result so far: 3.0
If we subtract 2355 from 3104, we get 749.
Append the next digit (2) from the dividend to 749 and continue with: 7492 / 785

Advancing to step 5:
7492 divided by 785 is 9 with a remainder of 427.
Use 9 as the next digit of our solution. 
Result so far: 39.0
Subtract 7065 from 7492 to get 427.
Take the next digit (5) from the dividend and append it to 427, then repeat: 4275 / 785

Advancing to step 6:
4275 divided by 785 is 5 with a remainder of 350.
The next digit of our result is 5. 
Result so far: 395.0
The remainder is 350 after subtracting 3925 from 4275.
Bring next digit (8) of the dividend behind the 350 and repeat the process: 3508 / 785

Let's proceed to step 7:
785 can be fit into 3508 4 times, resulting in a remainder of 368.
The next digit of our result is 4. 
Result so far: 3954.0
The remainder is 368 after subtracting 3140 from 3508.
Include the next digit (9) from the dividend after 368, then repeat: 3689 / 785

On to step 8:
785 can be fit into 3689 4 times, resulting in a remainder of 549.
Use 4 as the next digit of our solution. 
Result so far: 39544.0
The remainder is 549 after subtracting 3140 from 3689.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5490, and continue the process.

Let's proceed to step 9:
The number 785 fits into 5490 6 times, leaving a remainder of 780.
The next digit of our result is 6. 
Result so far: 39544.6
Subtracting 4710 from 5490 leaves us with 780.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7800, and continue the process.

Going ahead to step 10:
The number 785 fits into 7800 9 times, leaving a remainder of 735.
Record the quotient 9 as the next digit in the result. 
Result so far: 39544.69
Subtracting 7065 from 7800 leaves us with 735.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7350, and continue the process.

Let's proceed to step 11:
If we divide 7350 by 785, we get 9 and a remainder of 285.
Record the quotient 9 as the next digit in the result. 
Result so far: 39544.699
Deduct 7065 from 7350 and we're left with 285.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2850, and continue the process.

The quotient of the division is 39544.699, and the remainder is 0.0285.