Let's divide 31388657 by 764
We want to figure out the number of times 31388657 can be divided by 764.

On to step 1:
764 can be fit into 3 0 times, resulting in a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 764

Going ahead to step 2:
764 can be fit into 31 0 times, resulting in a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Include the next digit (3) from the dividend after 31, then repeat: 313 / 764

Moving on to step 3:
If we divide 313 by 764, we get 0 and a remainder of 313.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 313 leaves us with 313.
Include the next digit (8) from the dividend after 313, then repeat: 3138 / 764

Step 4:
764 goes into 3138 4 times with a remainder of 82.
The next digit of our result is 4. 
Result so far: 4.0
Subtract 3056 from 3138 to get 82.
Include the next digit (8) from the dividend after 82, then repeat: 828 / 764

On to step 5:
If we divide 828 by 764, we get 1 and a remainder of 64.
The number 1 becomes the next digit in our result. 
Result so far: 41.0
The remainder is 64 after subtracting 764 from 828.
Append the next digit (6) from the dividend to 64 and continue with: 646 / 764

Let's proceed to step 6:
When dividing 646 by 764, we get 0 with a remainder of 646.
The next digit of our result is 0. 
Result so far: 410.0
If we take 0 away from 646, we end up with 646.
Append the next digit (5) from the dividend to 646 and continue with: 6465 / 764

Let's proceed to step 7:
6465 divided by 764 is 8 with a remainder of 353.
Put 8 as the next digit of the answer. 
Result so far: 4108.0
The remainder is 353 after subtracting 6112 from 6465.
Grab the next digit (7) from the dividend, add it to 353, then carry on: 3537 / 764

Going ahead to step 8:
764 can be fit into 3537 4 times, resulting in a remainder of 481.
Record the quotient 4 as the next digit in the result. 
Result so far: 41084.0
Deduct 3056 from 3537 and we're left with 481.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4810, and continue the process.

Step 9:
764 goes into 4810 6 times with a remainder of 226.
Record the quotient 6 as the next digit in the result. 
Result so far: 41084.6
If we subtract 4584 from 4810, we get 226.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2260, and continue the process.

Step 10:
2260 divided by 764 is 2 with a remainder of 732.
The next digit of our result is 2. 
Result so far: 41084.62
Subtracting 1528 from 2260 leaves us with 732.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7320, and continue the process.

Going ahead to step 11:
764 can be fit into 7320 9 times, resulting in a remainder of 444.
The next digit of our result is 9. 
Result so far: 41084.629
Subtracting 6876 from 7320 leaves us with 444.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4440, and continue the process.

Step 12:
When dividing 4440 by 764, we get 5 with a remainder of 620.
Put 5 as the next digit of the answer. 
Result so far: 41084.6295
If we subtract 3820 from 4440, we get 620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6200, and continue the process.

Step 13:
When dividing 6200 by 764, we get 8 with a remainder of 88.
The next digit of our result is 8. 
Result so far: 41084.62958
If we subtract 6112 from 6200, we get 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

On to step 14:
When dividing 880 by 764, we get 1 with a remainder of 116.
The number 1 becomes the next digit in our result. 
Result so far: 41084.629581
If we subtract 764 from 880, we get 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Going ahead to step 15:
If we divide 1160 by 764, we get 1 and a remainder of 396.
Write down 1 as next digit of the result. 
Result so far: 41084.6295811
If we take 764 away from 1160, we end up with 396.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3960, and continue the process.

Our division results in 41084.6295811 with a remaining 3.96e-06.