We look at the division of 31277648 by 647 
We want to figure out the number of times 31277648 can be divided by 647.

Let's proceed to step 1:
The number 647 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 647

On to step 2:
When dividing 31 by 647, we get 0 with a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Fetch the next digit (2) from the dividend, attach it to 31 and continue: 312 / 647

On to step 3:
The number 647 fits into 312 0 times, leaving a remainder of 312.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 312, we get 312.
Bring next digit (7) of the dividend behind the 312 and repeat the process: 3127 / 647

Moving on to step 4:
647 goes into 3127 4 times with a remainder of 539.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtracting 2588 from 3127 leaves us with 539.
Bring next digit (7) of the dividend behind the 539 and repeat the process: 5397 / 647

Step 5:
647 goes into 5397 8 times with a remainder of 221.
Record the quotient 8 as the next digit in the result. 
Result so far: 48.0
Subtract 5176 from 5397 to get 221.
Fetch the next digit (6) from the dividend, attach it to 221 and continue: 2216 / 647

On to step 6:
If we divide 2216 by 647, we get 3 and a remainder of 275.
Write down 3 as next digit of the result. 
Result so far: 483.0
If we take 1941 away from 2216, we end up with 275.
Include the next digit (4) from the dividend after 275, then repeat: 2754 / 647

Advancing to step 7:
647 goes into 2754 4 times with a remainder of 166.
Use 4 as the next digit of our solution. 
Result so far: 4834.0
If we take 2588 away from 2754, we end up with 166.
Take the next digit (8) from the dividend and append it to 166, then repeat: 1668 / 647

Let's proceed to step 8:
1668 divided by 647 is 2 with a remainder of 374.
Put 2 as the next digit of the answer. 
Result so far: 48342.0
Subtract 1294 from 1668 to get 374.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

Going ahead to step 9:
647 goes into 3740 5 times with a remainder of 505.
Put 5 as the next digit of the answer. 
Result so far: 48342.5
Deduct 3235 from 3740 and we're left with 505.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5050, and continue the process.

Step 10:
If we divide 5050 by 647, we get 7 and a remainder of 521.
Use 7 as the next digit of our solution. 
Result so far: 48342.57
The remainder is 521 after subtracting 4529 from 5050.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5210, and continue the process.

Advancing to step 11:
647 goes into 5210 8 times with a remainder of 34.
Use 8 as the next digit of our solution. 
Result so far: 48342.578
If we subtract 5176 from 5210, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 12:
If we divide 340 by 647, we get 0 and a remainder of 340.
The next digit of our result is 0. 
Result so far: 48342.578
If we subtract 0 from 340, we get 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

Advancing to step 13:
647 goes into 3400 5 times with a remainder of 165.
The number 5 becomes the next digit in our result. 
Result so far: 48342.57805
Subtracting 3235 from 3400 leaves us with 165.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1650, and continue the process.

Moving on to step 14:
The number 647 fits into 1650 2 times, leaving a remainder of 356.
Write down 2 as next digit of the result. 
Result so far: 48342.578052
The remainder is 356 after subtracting 1294 from 1650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3560, and continue the process.

Going ahead to step 15:
If we divide 3560 by 647, we get 5 and a remainder of 325.
Put 5 as the next digit of the answer. 
Result so far: 48342.5780525
The remainder is 325 after subtracting 3235 from 3560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3250, and continue the process.

Moving on to step 16:
647 goes into 3250 5 times with a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 48342.57805255
Deduct 3235 from 3250 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

The final outcome is 48342.57805255, with a leftover of 1.5e-08.