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

Step 1:
4 divided by 31 is 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 31

Going ahead to step 2:
31 can be fit into 42 1 times, resulting in a remainder of 11.
The next digit of our result is 1. 
Result so far: 1.0
If we take 31 away from 42, we end up with 11.
Include the next digit (7) from the dividend after 11, then repeat: 117 / 31

Moving on to step 3:
31 can be fit into 117 3 times, resulting in a remainder of 24.
Record the quotient 3 as the next digit in the result. 
Result so far: 13.0
The remainder is 24 after subtracting 93 from 117.
Bring next digit (8) of the dividend behind the 24 and repeat the process: 248 / 31

Going ahead to step 4:
When dividing 248 by 31, we get 8 with a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 138.0
Subtracting 248 from 248 leaves us with 0.
Bring next digit (2) of the dividend behind the 0 and repeat the process: 2 / 31

Let's proceed to step 5:
31 can be fit into 2 0 times, resulting in a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 1380.0
Subtracting 0 from 2 leaves us 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.

Moving on to step 6:
20 divided by 31 is 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 1380.0
If we subtract 0 from 20, we 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.

Moving on to step 7:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Put 6 as the next digit of the answer. 
Result so far: 1380.06
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.

Advancing to step 8:
140 divided by 31 is 4 with a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 1380.064
If we take 124 away from 140, we end up 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.

Step 9:
31 goes into 160 5 times with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 1380.0645
Subtracting 155 from 160 leaves us 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.

Let's proceed to step 10:
31 goes into 50 1 times with a remainder of 19.
The next digit of our result is 1. 
Result so far: 1380.06451
The remainder is 19 after subtracting 31 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 11:
31 can be fit into 190 6 times, resulting in a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 1380.064516
Deduct 186 from 190 and we're left 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 12:
If we divide 40 by 31, we get 1 and a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 1380.0645161
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.

Advancing to step 13:
90 divided by 31 is 2 with a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 1380.06451612
Subtracting 62 from 90 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The final outcome is 1380.06451612, with a leftover of 2.8e-08.