765831 ÷ 31 
We're looking to find how many times 31 goes into 765831.

Step 1:
If we divide 7 by 31, we get 0 and a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Bring next digit (6) of the dividend behind the 7 and repeat the process: 76 / 31

On to step 2:
31 goes into 76 2 times with a remainder of 14.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
The remainder is 14 after subtracting 62 from 76.
Append the next digit (5) from the dividend to 14 and continue with: 145 / 31

On to step 3:
The number 31 fits into 145 4 times, leaving a remainder of 21.
Put 4 as the next digit of the answer. 
Result so far: 24.0
If we subtract 124 from 145, we get 21.
Fetch the next digit (8) from the dividend, attach it to 21 and continue: 218 / 31

Let's proceed to step 4:
When dividing 218 by 31, we get 7 with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 247.0
If we subtract 217 from 218, we get 1.
Append the next digit (3) from the dividend to 1 and continue with: 13 / 31

Let's proceed to step 5:
If we divide 13 by 31, we get 0 and a remainder of 13.
Use 0 as the next digit of our solution. 
Result so far: 2470.0
Subtract 0 from 13 to get 13.
Take the next digit (1) from the dividend and append it to 13, then repeat: 131 / 31

On to step 6:
When dividing 131 by 31, we get 4 with a remainder of 7.
Use 4 as the next digit of our solution. 
Result so far: 24704.0
If we subtract 124 from 131, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 7:
The number 31 fits into 70 2 times, leaving a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 24704.2
The remainder is 8 after subtracting 62 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 8:
31 can be fit into 80 2 times, resulting in a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 24704.22
Subtracting 62 from 80 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final outcome is 24704.22, with a leftover of 0.018.