264777 divided by 31 
We want to figure out the number of times 264777 can be divided by 31.

Moving on to step 1:
The number 31 fits into 2 0 times, leaving a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 31

Advancing to step 2:
31 can be fit into 26 0 times, resulting in a remainder of 26.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 26, we end up with 26.
Fetch the next digit (4) from the dividend, attach it to 26 and continue: 264 / 31

Step 3:
If we divide 264 by 31, we get 8 and a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 8.0
Subtract 248 from 264 to get 16.
Take the next digit (7) from the dividend and append it to 16, then repeat: 167 / 31

Step 4:
When dividing 167 by 31, we get 5 with a remainder of 12.
The next digit of our result is 5. 
Result so far: 85.0
Deduct 155 from 167 and we're left with 12.
Take the next digit (7) from the dividend and append it to 12, then repeat: 127 / 31

Step 5:
127 divided by 31 is 4 with a remainder of 3.
Put 4 as the next digit of the answer. 
Result so far: 854.0
Subtract 124 from 127 to get 3.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 31

Moving on to step 6:
37 divided by 31 is 1 with a remainder of 6.
The number 1 becomes the next digit in our result. 
Result so far: 8541.0
Deduct 31 from 37 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 7:
If we divide 60 by 31, we get 1 and a remainder of 29.
The next digit of our result is 1. 
Result so far: 8541.1
The remainder is 29 after subtracting 31 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Step 8:
31 goes into 290 9 times with a remainder of 11.
The number 9 becomes the next digit in our result. 
Result so far: 8541.19
Subtract 279 from 290 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 9:
110 divided by 31 is 3 with a remainder of 17.
Write down 3 as next digit of the result. 
Result so far: 8541.193
Subtract 93 from 110 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 10:
If we divide 170 by 31, we get 5 and a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 8541.1935
If we take 155 away from 170, we end up 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.

Step 11:
The number 31 fits into 150 4 times, leaving a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 8541.19354
The remainder is 26 after subtracting 124 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 12:
The number 31 fits into 260 8 times, leaving a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 8541.193548
Subtract 248 from 260 to 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:
If we divide 120 by 31, we get 3 and a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 8541.1935483
If we take 93 away from 120, we end up 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.

On to step 14:
The number 31 fits into 270 8 times, leaving a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 8541.19354838
Subtract 248 from 270 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

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