We divide 5231172 by 771
We're looking to find how many times 771 goes into 5231172.

Going ahead to step 1:
5 divided by 771 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (2) from the dividend, add it to 5, then carry on: 52 / 771

Going ahead to step 2:
If we divide 52 by 771, we get 0 and a remainder of 52.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 52 and we're left with 52.
Append the next digit (3) from the dividend to 52 and continue with: 523 / 771

Advancing to step 3:
771 goes into 523 0 times with a remainder of 523.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 523 and we're left with 523.
Grab the next digit (1) from the dividend, add it to 523, then carry on: 5231 / 771

Let's proceed to step 4:
771 can be fit into 5231 6 times, resulting in a remainder of 605.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
The remainder is 605 after subtracting 4626 from 5231.
Take the next digit (1) from the dividend and append it to 605, then repeat: 6051 / 771

Going ahead to step 5:
If we divide 6051 by 771, we get 7 and a remainder of 654.
Use 7 as the next digit of our solution. 
Result so far: 67.0
Deduct 5397 from 6051 and we're left with 654.
Take the next digit (7) from the dividend and append it to 654, then repeat: 6547 / 771

Step 6:
When dividing 6547 by 771, we get 8 with a remainder of 379.
The number 8 becomes the next digit in our result. 
Result so far: 678.0
If we subtract 6168 from 6547, we get 379.
Grab the next digit (2) from the dividend, add it to 379, then carry on: 3792 / 771

On to step 7:
If we divide 3792 by 771, we get 4 and a remainder of 708.
The number 4 becomes the next digit in our result. 
Result so far: 6784.0
If we take 3084 away from 3792, we end up with 708.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7080, and continue the process.

Moving on to step 8:
771 goes into 7080 9 times with a remainder of 141.
Put 9 as the next digit of the answer. 
Result so far: 6784.9
If we take 6939 away from 7080, we end up with 141.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1410, and continue the process.

Moving on to step 9:
771 goes into 1410 1 times with a remainder of 639.
Record the quotient 1 as the next digit in the result. 
Result so far: 6784.91
Subtracting 771 from 1410 leaves us with 639.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6390, and continue the process.

Moving on to step 10:
771 goes into 6390 8 times with a remainder of 222.
Record the quotient 8 as the next digit in the result. 
Result so far: 6784.918
If we take 6168 away from 6390, we end up with 222.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

Moving on to step 11:
When dividing 2220 by 771, we get 2 with a remainder of 678.
The next digit of our result is 2. 
Result so far: 6784.9182
Deduct 1542 from 2220 and we're left with 678.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6780, and continue the process.

Moving on to step 12:
The number 771 fits into 6780 8 times, leaving a remainder of 612.
Put 8 as the next digit of the answer. 
Result so far: 6784.91828
The remainder is 612 after subtracting 6168 from 6780.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6120, and continue the process.

Moving on to step 13:
If we divide 6120 by 771, we get 7 and a remainder of 723.
Put 7 as the next digit of the answer. 
Result so far: 6784.918287
Subtracting 5397 from 6120 leaves us with 723.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7230, and continue the process.

Going ahead to step 14:
If we divide 7230 by 771, we get 9 and a remainder of 291.
Put 9 as the next digit of the answer. 
Result so far: 6784.9182879
Subtract 6939 from 7230 to get 291.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2910, and continue the process.

On to step 15:
771 can be fit into 2910 3 times, resulting in a remainder of 597.
Use 3 as the next digit of our solution. 
Result so far: 6784.91828793
The remainder is 597 after subtracting 2313 from 2910.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5970, and continue the process.

The quotient of the division is 6784.91828793, and the remainder is 5.97e-07.