We look at the division of 31984782 by 787 
Our goal is to divide 31984782 by 787.

Going ahead to step 1:
If we divide 3 by 787, we get 0 and 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 / 787

Let's proceed to step 2:
787 goes into 31 0 times with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Grab the next digit (9) from the dividend, add it to 31, then carry on: 319 / 787

Moving on to step 3:
When dividing 319 by 787, we get 0 with a remainder of 319.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 319, we end up with 319.
Include the next digit (8) from the dividend after 319, then repeat: 3198 / 787

On to step 4:
When dividing 3198 by 787, we get 4 with a remainder of 50.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
If we subtract 3148 from 3198, we get 50.
Include the next digit (4) from the dividend after 50, then repeat: 504 / 787

Let's proceed to step 5:
787 goes into 504 0 times with a remainder of 504.
Put 0 as the next digit of the answer. 
Result so far: 40.0
Subtracting 0 from 504 leaves us with 504.
Take the next digit (7) from the dividend and append it to 504, then repeat: 5047 / 787

Let's proceed to step 6:
When dividing 5047 by 787, we get 6 with a remainder of 325.
The number 6 becomes the next digit in our result. 
Result so far: 406.0
If we take 4722 away from 5047, we end up with 325.
Take the next digit (8) from the dividend and append it to 325, then repeat: 3258 / 787

Going ahead to step 7:
If we divide 3258 by 787, we get 4 and a remainder of 110.
Use 4 as the next digit of our solution. 
Result so far: 4064.0
Subtract 3148 from 3258 to get 110.
Grab the next digit (2) from the dividend, add it to 110, then carry on: 1102 / 787

Moving on to step 8:
787 goes into 1102 1 times with a remainder of 315.
Record the quotient 1 as the next digit in the result. 
Result so far: 40641.0
If we subtract 787 from 1102, we get 315.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3150, and continue the process.

Step 9:
When dividing 3150 by 787, we get 4 with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 40641.4
Deduct 3148 from 3150 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.

Moving on to step 10:
When dividing 20 by 787, we get 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 40641.4
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.

Going ahead to step 11:
If we divide 200 by 787, we get 0 and a remainder of 200.
Record the quotient 0 as the next digit in the result. 
Result so far: 40641.4
Subtract 0 from 200 to get 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

After the division, we end up with 40641.4 and a remainder of 0.02.