Let's divide 859017 by 7
We're looking to find how many times 7 goes into 859017.

On to step 1:
When dividing 8 by 7, we get 1 with a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 7 from 8, we get 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 7

Moving on to step 2:
The number 7 fits into 15 2 times, leaving a remainder of 1.
Use 2 as the next digit of our solution. 
Result so far: 12.0
Subtract 14 from 15 to get 1.
Append the next digit (9) from the dividend to 1 and continue with: 19 / 7

On to step 3:
If we divide 19 by 7, we get 2 and a remainder of 5.
Write down 2 as next digit of the result. 
Result so far: 122.0
Subtract 14 from 19 to get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 7

Going ahead to step 4:
When dividing 50 by 7, we get 7 with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 1227.0
If we take 49 away from 50, we end up with 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 7

Going ahead to step 5:
7 goes into 11 1 times with a remainder of 4.
The next digit of our result is 1. 
Result so far: 12271.0
Deduct 7 from 11 and we're left with 4.
Append the next digit (7) from the dividend to 4 and continue with: 47 / 7

Let's proceed to step 6:
If we divide 47 by 7, we get 6 and a remainder of 5.
The number 6 becomes the next digit in our result. 
Result so far: 122716.0
The remainder is 5 after subtracting 42 from 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 7:
The number 7 fits into 50 7 times, leaving a remainder of 1.
The next digit of our result is 7. 
Result so far: 122716.7
If we take 49 away from 50, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 8:
7 goes into 10 1 times with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 122716.71
If we subtract 7 from 10, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 9:
If we divide 30 by 7, we get 4 and a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 122716.714
Subtracting 28 from 30 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.

Going ahead to step 10:
7 can be fit into 20 2 times, resulting in a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 122716.7142
If we take 14 away from 20, we end up 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.

Moving on to step 11:
7 can be fit into 60 8 times, resulting in a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 122716.71428
If we subtract 56 from 60, we get 4.
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 12:
The number 7 fits into 40 5 times, leaving a remainder of 5.
The next digit of our result is 5. 
Result so far: 122716.714285
If we subtract 35 from 40, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 13:
If we divide 50 by 7, we get 7 and a remainder of 1.
The next digit of our result is 7. 
Result so far: 122716.7142857
Subtract 49 from 50 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.

Going ahead to step 14:
When dividing 10 by 7, we get 1 with a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 122716.71428571
Subtracting 7 from 10 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

After the division, we end up with 122716.71428571 and a remainder of 3e-09.