We're dividing 31256879 by 517 
We want to divide 31256879 by 517.

Going ahead to step 1:
The number 517 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 517

Advancing to step 2:
The number 517 fits into 31 0 times, leaving a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Grab the next digit (2) from the dividend, add it to 31, then carry on: 312 / 517

Let's proceed to step 3:
The number 517 fits into 312 0 times, leaving a remainder of 312.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 312 and we're left with 312.
Bring next digit (5) of the dividend behind the 312 and repeat the process: 3125 / 517

Step 4:
The number 517 fits into 3125 6 times, leaving a remainder of 23.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Subtracting 3102 from 3125 leaves us with 23.
Take the next digit (6) from the dividend and append it to 23, then repeat: 236 / 517

Step 5:
236 divided by 517 is 0 with a remainder of 236.
Put 0 as the next digit of the answer. 
Result so far: 60.0
If we take 0 away from 236, we end up with 236.
Fetch the next digit (8) from the dividend, attach it to 236 and continue: 2368 / 517

Let's proceed to step 6:
When dividing 2368 by 517, we get 4 with a remainder of 300.
Put 4 as the next digit of the answer. 
Result so far: 604.0
The remainder is 300 after subtracting 2068 from 2368.
Bring next digit (7) of the dividend behind the 300 and repeat the process: 3007 / 517

Step 7:
517 goes into 3007 5 times with a remainder of 422.
The number 5 becomes the next digit in our result. 
Result so far: 6045.0
Subtracting 2585 from 3007 leaves us with 422.
Fetch the next digit (9) from the dividend, attach it to 422 and continue: 4229 / 517

On to step 8:
4229 divided by 517 is 8 with a remainder of 93.
The number 8 becomes the next digit in our result. 
Result so far: 60458.0
If we take 4136 away from 4229, we end up with 93.
Since there are no more digits in the dividend, we add a zero to the remainder making it 930, and continue the process.

Advancing to step 9:
517 can be fit into 930 1 times, resulting in a remainder of 413.
The next digit of our result is 1. 
Result so far: 60458.1
If we take 517 away from 930, we end up with 413.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4130, and continue the process.

Advancing to step 10:
517 can be fit into 4130 7 times, resulting in a remainder of 511.
Record the quotient 7 as the next digit in the result. 
Result so far: 60458.17
Deduct 3619 from 4130 and we're left with 511.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5110, and continue the process.

Let's proceed to step 11:
517 can be fit into 5110 9 times, resulting in a remainder of 457.
Write down 9 as next digit of the result. 
Result so far: 60458.179
Deduct 4653 from 5110 and we're left with 457.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4570, and continue the process.

Let's proceed to step 12:
4570 divided by 517 is 8 with a remainder of 434.
Write down 8 as next digit of the result. 
Result so far: 60458.1798
Deduct 4136 from 4570 and we're left with 434.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4340, and continue the process.

Going ahead to step 13:
The number 517 fits into 4340 8 times, leaving a remainder of 204.
The number 8 becomes the next digit in our result. 
Result so far: 60458.17988
Subtract 4136 from 4340 to get 204.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

The quotient of the division is 60458.17988, and the remainder is 0.000204.