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

Advancing to step 1:
The number 14 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 14

On to step 2:
If we divide 58 by 14, we get 4 and a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Deduct 56 from 58 and we're left with 2.
Fetch the next digit (5) from the dividend, attach it to 2 and continue: 25 / 14

Moving on to step 3:
14 can be fit into 25 1 times, resulting in a remainder of 11.
Use 1 as the next digit of our solution. 
Result so far: 41.0
If we subtract 14 from 25, we get 11.
Take the next digit (1) from the dividend and append it to 11, then repeat: 111 / 14

Step 4:
14 can be fit into 111 7 times, resulting in a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 417.0
Subtracting 98 from 111 leaves us with 13.
Grab the next digit (1) from the dividend, add it to 13, then carry on: 131 / 14

Advancing to step 5:
131 divided by 14 is 9 with a remainder of 5.
Put 9 as the next digit of the answer. 
Result so far: 4179.0
If we subtract 126 from 131, we get 5.
Fetch the next digit (7) from the dividend, attach it to 5 and continue: 57 / 14

Going ahead to step 6:
If we divide 57 by 14, we get 4 and a remainder of 1.
The number 4 becomes the next digit in our result. 
Result so far: 41794.0
Subtract 56 from 57 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 7:
When dividing 10 by 14, we get 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 41794.0
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 8:
100 divided by 14 is 7 with a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 41794.07
Subtracting 98 from 100 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 9:
When dividing 20 by 14, we get 1 with a remainder of 6.
Write down 1 as next digit of the result. 
Result so far: 41794.071
Subtract 14 from 20 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 10:
60 divided by 14 is 4 with a remainder of 4.
Record the quotient 4 as the next digit in the result. 
Result so far: 41794.0714
The remainder is 4 after subtracting 56 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 11:
If we divide 40 by 14, we get 2 and a remainder of 12.
The number 2 becomes the next digit in our result. 
Result so far: 41794.07142
If we subtract 28 from 40, we 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.

Advancing to step 12:
If we divide 120 by 14, we get 8 and a remainder of 8.
The number 8 becomes the next digit in our result. 
Result so far: 41794.071428
If we subtract 112 from 120, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 13:
80 divided by 14 is 5 with a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 41794.0714285
If we take 70 away from 80, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 14:
If we divide 100 by 14, we get 7 and a remainder of 2.
The next digit of our result is 7. 
Result so far: 41794.07142857
Subtracting 98 from 100 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final result is 41794.07142857 with a remainder of 2e-09.