31878424 ÷ 781 
We're looking to find how many times 781 goes into 31878424.

Going ahead to step 1:
781 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 781

Moving on to step 2:
The number 781 fits into 31 0 times, leaving a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Grab the next digit (8) from the dividend, add it to 31, then carry on: 318 / 781

Advancing to step 3:
781 can be fit into 318 0 times, resulting in a remainder of 318.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 318 and we're left with 318.
Include the next digit (7) from the dividend after 318, then repeat: 3187 / 781

Going ahead to step 4:
781 can be fit into 3187 4 times, resulting in a remainder of 63.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtracting 3124 from 3187 leaves us with 63.
Bring next digit (8) of the dividend behind the 63 and repeat the process: 638 / 781

Advancing to step 5:
When dividing 638 by 781, we get 0 with a remainder of 638.
Use 0 as the next digit of our solution. 
Result so far: 40.0
If we take 0 away from 638, we end up with 638.
Include the next digit (4) from the dividend after 638, then repeat: 6384 / 781

Step 6:
781 can be fit into 6384 8 times, resulting in a remainder of 136.
Use 8 as the next digit of our solution. 
Result so far: 408.0
Subtracting 6248 from 6384 leaves us with 136.
Take the next digit (2) from the dividend and append it to 136, then repeat: 1362 / 781

Let's proceed to step 7:
781 can be fit into 1362 1 times, resulting in a remainder of 581.
Write down 1 as next digit of the result. 
Result so far: 4081.0
Deduct 781 from 1362 and we're left with 581.
Bring next digit (4) of the dividend behind the 581 and repeat the process: 5814 / 781

Step 8:
781 can be fit into 5814 7 times, resulting in a remainder of 347.
The number 7 becomes the next digit in our result. 
Result so far: 40817.0
Subtracting 5467 from 5814 leaves us with 347.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3470, and continue the process.

Advancing to step 9:
781 goes into 3470 4 times with a remainder of 346.
Put 4 as the next digit of the answer. 
Result so far: 40817.4
The remainder is 346 after subtracting 3124 from 3470.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3460, and continue the process.

Step 10:
781 can be fit into 3460 4 times, resulting in a remainder of 336.
The number 4 becomes the next digit in our result. 
Result so far: 40817.44
If we take 3124 away from 3460, we end up with 336.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3360, and continue the process.

The final result is 40817.44 with a remainder of 0.336.