Let's divide 768954 by 31
Our goal is to divide 768954 by 31.

Advancing to step 1:
7 divided by 31 is 0 with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Fetch the next digit (6) from the dividend, attach it to 7 and continue: 76 / 31

Advancing to step 2:
76 divided by 31 is 2 with a remainder of 14.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we subtract 62 from 76, we get 14.
Append the next digit (8) from the dividend to 14 and continue with: 148 / 31

On to step 3:
The number 31 fits into 148 4 times, leaving a remainder of 24.
Put 4 as the next digit of the answer. 
Result so far: 24.0
If we subtract 124 from 148, we get 24.
Append the next digit (9) from the dividend to 24 and continue with: 249 / 31

On to step 4:
When dividing 249 by 31, we get 8 with a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 248.0
Subtract 248 from 249 to get 1.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 31

Step 5:
15 divided by 31 is 0 with a remainder of 15.
The next digit of our result is 0. 
Result so far: 2480.0
If we take 0 away from 15, we end up with 15.
Take the next digit (4) from the dividend and append it to 15, then repeat: 154 / 31

Going ahead to step 6:
31 can be fit into 154 4 times, resulting in a remainder of 30.
The next digit of our result is 4. 
Result so far: 24804.0
If we take 124 away from 154, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 7:
If we divide 300 by 31, we get 9 and a remainder of 21.
Record the quotient 9 as the next digit in the result. 
Result so far: 24804.9
If we subtract 279 from 300, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 8:
The number 31 fits into 210 6 times, leaving a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 24804.96
Deduct 186 from 210 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 9:
31 can be fit into 240 7 times, resulting in a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 24804.967
If we subtract 217 from 240, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 10:
31 can be fit into 230 7 times, resulting in a remainder of 13.
The next digit of our result is 7. 
Result so far: 24804.9677
Deduct 217 from 230 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The quotient of the division is 24804.9677, and the remainder is 0.00013.