31159825 ÷ 772 
We want to divide 31159825 by 772.

Going ahead to step 1:
If we divide 3 by 772, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 772

Moving on to step 2:
772 can be fit into 31 0 times, resulting in a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Include the next digit (1) from the dividend after 31, then repeat: 311 / 772

Step 3:
311 divided by 772 is 0 with a remainder of 311.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 311 to get 311.
Grab the next digit (5) from the dividend, add it to 311, then carry on: 3115 / 772

On to step 4:
3115 divided by 772 is 4 with a remainder of 27.
The next digit of our result is 4. 
Result so far: 4.0
Subtracting 3088 from 3115 leaves us with 27.
Append the next digit (9) from the dividend to 27 and continue with: 279 / 772

On to step 5:
When dividing 279 by 772, we get 0 with a remainder of 279.
Record the quotient 0 as the next digit in the result. 
Result so far: 40.0
Subtract 0 from 279 to get 279.
Fetch the next digit (8) from the dividend, attach it to 279 and continue: 2798 / 772

Step 6:
2798 divided by 772 is 3 with a remainder of 482.
The number 3 becomes the next digit in our result. 
Result so far: 403.0
Subtract 2316 from 2798 to get 482.
Include the next digit (2) from the dividend after 482, then repeat: 4822 / 772

Moving on to step 7:
When dividing 4822 by 772, we get 6 with a remainder of 190.
Put 6 as the next digit of the answer. 
Result so far: 4036.0
If we subtract 4632 from 4822, we get 190.
Take the next digit (5) from the dividend and append it to 190, then repeat: 1905 / 772

Advancing to step 8:
If we divide 1905 by 772, we get 2 and a remainder of 361.
Write down 2 as next digit of the result. 
Result so far: 40362.0
Deduct 1544 from 1905 and we're left with 361.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3610, and continue the process.

Step 9:
The number 772 fits into 3610 4 times, leaving a remainder of 522.
Record the quotient 4 as the next digit in the result. 
Result so far: 40362.4
If we take 3088 away from 3610, we end up with 522.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5220, and continue the process.

Going ahead to step 10:
772 goes into 5220 6 times with a remainder of 588.
Use 6 as the next digit of our solution. 
Result so far: 40362.46
Deduct 4632 from 5220 and we're left with 588.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5880, and continue the process.

Advancing to step 11:
5880 divided by 772 is 7 with a remainder of 476.
The number 7 becomes the next digit in our result. 
Result so far: 40362.467
Subtracting 5404 from 5880 leaves us with 476.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4760, and continue the process.

On to step 12:
772 can be fit into 4760 6 times, resulting in a remainder of 128.
The number 6 becomes the next digit in our result. 
Result so far: 40362.4676
If we take 4632 away from 4760, we end up with 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

Advancing to step 13:
When dividing 1280 by 772, we get 1 with a remainder of 508.
Record the quotient 1 as the next digit in the result. 
Result so far: 40362.46761
Deduct 772 from 1280 and we're left with 508.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5080, and continue the process.

Moving on to step 14:
If we divide 5080 by 772, we get 6 and a remainder of 448.
Put 6 as the next digit of the answer. 
Result so far: 40362.467616
Subtract 4632 from 5080 to get 448.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4480, and continue the process.

Step 15:
772 goes into 4480 5 times with a remainder of 620.
Use 5 as the next digit of our solution. 
Result so far: 40362.4676165
If we take 3860 away from 4480, we end up with 620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6200, and continue the process.

On to step 16:
When dividing 6200 by 772, we get 8 with a remainder of 24.
Use 8 as the next digit of our solution. 
Result so far: 40362.46761658
Subtracting 6176 from 6200 leaves us 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.

The quotient of the division is 40362.46761658, and the remainder is 2.4e-08.