We look at the division of 782339 by 31 
Our goal is to divide 782339 by 31.

Moving on to step 1:
7 divided by 31 is 0 with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 31

Let's proceed to step 2:
31 can be fit into 78 2 times, resulting in a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 62 from 78, we get 16.
Append the next digit (2) from the dividend to 16 and continue with: 162 / 31

On to step 3:
31 goes into 162 5 times with a remainder of 7.
The number 5 becomes the next digit in our result. 
Result so far: 25.0
Deduct 155 from 162 and we're left with 7.
Bring next digit (3) of the dividend behind the 7 and repeat the process: 73 / 31

On to step 4:
If we divide 73 by 31, we get 2 and a remainder of 11.
Write down 2 as next digit of the result. 
Result so far: 252.0
Subtracting 62 from 73 leaves us with 11.
Grab the next digit (3) from the dividend, add it to 11, then carry on: 113 / 31

Step 5:
31 goes into 113 3 times with a remainder of 20.
Write down 3 as next digit of the result. 
Result so far: 2523.0
Subtracting 93 from 113 leaves us with 20.
Take the next digit (9) from the dividend and append it to 20, then repeat: 209 / 31

Let's proceed to step 6:
31 goes into 209 6 times with a remainder of 23.
Record the quotient 6 as the next digit in the result. 
Result so far: 25236.0
Deduct 186 from 209 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.

Let's proceed to step 7:
If we divide 230 by 31, we get 7 and a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 25236.7
If we subtract 217 from 230, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 8:
130 divided by 31 is 4 with a remainder of 6.
Use 4 as the next digit of our solution. 
Result so far: 25236.74
If we take 124 away from 130, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 9:
31 goes into 60 1 times with a remainder of 29.
The next digit of our result is 1. 
Result so far: 25236.741
Subtract 31 from 60 to get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

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

Step 11:
110 divided by 31 is 3 with a remainder of 17.
The next digit of our result is 3. 
Result so far: 25236.74193
Deduct 93 from 110 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

On to step 12:
If we divide 170 by 31, we get 5 and a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 25236.741935
Deduct 155 from 170 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 13:
31 goes into 150 4 times with a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 25236.7419354
If we subtract 124 from 150, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 14:
If we divide 260 by 31, we get 8 and a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 25236.74193548
Subtract 248 from 260 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

After the division, we end up with 25236.74193548 and a remainder of 1.2e-08.