31586931 divided by 779 
We want to figure out the number of times 31586931 can be divided by 779.

Step 1:
When dividing 3 by 779, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 779

Step 2:
31 divided by 779 is 0 with a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Append the next digit (5) from the dividend to 31 and continue with: 315 / 779

On to step 3:
The number 779 fits into 315 0 times, leaving a remainder of 315.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 315, we end up with 315.
Bring next digit (8) of the dividend behind the 315 and repeat the process: 3158 / 779

Step 4:
When dividing 3158 by 779, we get 4 with a remainder of 42.
Write down 4 as next digit of the result. 
Result so far: 4.0
Subtract 3116 from 3158 to get 42.
Bring next digit (6) of the dividend behind the 42 and repeat the process: 426 / 779

Advancing to step 5:
If we divide 426 by 779, we get 0 and a remainder of 426.
Write down 0 as next digit of the result. 
Result so far: 40.0
If we take 0 away from 426, we end up with 426.
Take the next digit (9) from the dividend and append it to 426, then repeat: 4269 / 779

On to step 6:
4269 divided by 779 is 5 with a remainder of 374.
Use 5 as the next digit of our solution. 
Result so far: 405.0
The remainder is 374 after subtracting 3895 from 4269.
Bring next digit (3) of the dividend behind the 374 and repeat the process: 3743 / 779

Step 7:
779 can be fit into 3743 4 times, resulting in a remainder of 627.
Use 4 as the next digit of our solution. 
Result so far: 4054.0
The remainder is 627 after subtracting 3116 from 3743.
Fetch the next digit (1) from the dividend, attach it to 627 and continue: 6271 / 779

Step 8:
779 goes into 6271 8 times with a remainder of 39.
Write down 8 as next digit of the result. 
Result so far: 40548.0
If we take 6232 away from 6271, we end up with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Let's proceed to step 9:
If we divide 390 by 779, we get 0 and a remainder of 390.
Write down 0 as next digit of the result. 
Result so far: 40548.0
Subtract 0 from 390 to get 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3900, and continue the process.

Step 10:
3900 divided by 779 is 5 with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 40548.05
Subtract 3895 from 3900 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 11:
The number 779 fits into 50 0 times, leaving a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 40548.05
If we take 0 away from 50, we end up with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

On to step 12:
If we divide 500 by 779, we get 0 and a remainder of 500.
The number 0 becomes the next digit in our result. 
Result so far: 40548.05
If we subtract 0 from 500, we get 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5000, and continue the process.

The quotient of the division is 40548.05, and the remainder is 0.005.