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

Let's proceed to step 1:
If we divide 7 by 31, we get 0 and a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Fetch the next digit (6) from the dividend, attach it to 7 and continue: 76 / 31

Going ahead to step 2:
76 divided by 31 is 2 with a remainder of 14.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
The remainder is 14 after subtracting 62 from 76.
Grab the next digit (8) from the dividend, add it to 14, then carry on: 148 / 31

Going ahead to step 3:
31 goes into 148 4 times with a remainder of 24.
Write down 4 as next digit of the result. 
Result so far: 24.0
If we subtract 124 from 148, we get 24.
Grab the next digit (7) from the dividend, add it to 24, then carry on: 247 / 31

Advancing to step 4:
31 goes into 247 7 times with a remainder of 30.
The next digit of our result is 7. 
Result so far: 247.0
The remainder is 30 after subtracting 217 from 247.
Fetch the next digit (9) from the dividend, attach it to 30 and continue: 309 / 31

Moving on to step 5:
If we divide 309 by 31, we get 9 and a remainder of 30.
Use 9 as the next digit of our solution. 
Result so far: 2479.0
Subtracting 279 from 309 leaves us with 30.
Append the next digit (4) from the dividend to 30 and continue with: 304 / 31

Going ahead to step 6:
304 divided by 31 is 9 with a remainder of 25.
The next digit of our result is 9. 
Result so far: 24799.0
If we take 279 away from 304, we end up with 25.
Append the next digit (2) from the dividend to 25 and continue with: 252 / 31

Going ahead to step 7:
252 divided by 31 is 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 247998.0
Subtract 248 from 252 to get 4.
Fetch the next digit (2) from the dividend, attach it to 4 and continue: 42 / 31

Advancing to step 8:
31 goes into 42 1 times with a remainder of 11.
Use 1 as the next digit of our solution. 
Result so far: 2479981.0
Subtracting 31 from 42 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.

Let's proceed to step 9:
31 can be fit into 110 3 times, resulting in a remainder of 17.
Write down 3 as next digit of the result. 
Result so far: 2479981.3
The remainder is 17 after subtracting 93 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 10:
When dividing 170 by 31, we get 5 with a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 2479981.35
The remainder is 15 after subtracting 155 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 11:
31 can be fit into 150 4 times, resulting in a remainder of 26.
The next digit of our result is 4. 
Result so far: 2479981.354
If we take 124 away from 150, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 12:
31 goes into 260 8 times with a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 2479981.3548
If we subtract 248 from 260, we 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.

On to step 13:
When dividing 120 by 31, we get 3 with a remainder of 27.
Write down 3 as next digit of the result. 
Result so far: 2479981.35483
Subtracting 93 from 120 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 14:
31 goes into 270 8 times with a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 2479981.354838
Subtracting 248 from 270 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 15:
31 goes into 220 7 times with a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 2479981.3548387
If we subtract 217 from 220, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 16:
The number 31 fits into 30 0 times, leaving a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 2479981.3548387
Deduct 0 from 30 and we're left 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.

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