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

On to step 1:
When dividing 3 by 51, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 51

Advancing to step 2:
51 can be fit into 31 0 times, resulting in a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Bring next digit (3) of the dividend behind the 31 and repeat the process: 313 / 51

On to step 3:
The number 51 fits into 313 6 times, leaving a remainder of 7.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Deduct 306 from 313 and we're left with 7.
Fetch the next digit (1) from the dividend, attach it to 7 and continue: 71 / 51

Let's proceed to step 4:
The number 51 fits into 71 1 times, leaving a remainder of 20.
Write down 1 as next digit of the result. 
Result so far: 61.0
If we take 51 away from 71, we end up with 20.
Take the next digit (0) from the dividend and append it to 20, then repeat: 200 / 51

Going ahead to step 5:
If we divide 200 by 51, we get 3 and a remainder of 47.
The next digit of our result is 3. 
Result so far: 613.0
Subtracting 153 from 200 leaves us with 47.
Append the next digit (7) from the dividend to 47 and continue with: 477 / 51

Step 6:
The number 51 fits into 477 9 times, leaving a remainder of 18.
Use 9 as the next digit of our solution. 
Result so far: 6139.0
Subtracting 459 from 477 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 7:
The number 51 fits into 180 3 times, leaving a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 6139.3
Subtracting 153 from 180 leaves us 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.

Step 8:
270 divided by 51 is 5 with a remainder of 15.
The next digit of our result is 5. 
Result so far: 6139.35
The remainder is 15 after subtracting 255 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 9:
51 goes into 150 2 times with a remainder of 48.
Use 2 as the next digit of our solution. 
Result so far: 6139.352
Deduct 102 from 150 and we're left with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Advancing to step 10:
When dividing 480 by 51, we get 9 with a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 6139.3529
The remainder is 21 after subtracting 459 from 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Step 11:
51 can be fit into 210 4 times, resulting in a remainder of 6.
Write down 4 as next digit of the result. 
Result so far: 6139.35294
Deduct 204 from 210 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.

Let's proceed to step 12:
60 divided by 51 is 1 with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 6139.352941
Subtracting 51 from 60 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 13:
The number 51 fits into 90 1 times, leaving a remainder of 39.
Put 1 as the next digit of the answer. 
Result so far: 6139.3529411
If we take 51 away from 90, we end up with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

The quotient of the division is 6139.3529411, and the remainder is 3.9e-07.