We're dividing 866045 by 7 
We want to figure out the number of times 866045 can be divided by 7.

Let's proceed to step 1:
The number 7 fits into 8 1 times, leaving a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 7 from 8 to get 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 7

Going ahead to step 2:
7 can be fit into 16 2 times, resulting in a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
If we take 14 away from 16, we end up with 2.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 7

Going ahead to step 3:
7 can be fit into 26 3 times, resulting in a remainder of 5.
The next digit of our result is 3. 
Result so far: 123.0
Subtracting 21 from 26 leaves us with 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 7

Advancing to step 4:
When dividing 50 by 7, we get 7 with a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 1237.0
Subtract 49 from 50 to get 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 7

Moving on to step 5:
If we divide 14 by 7, we get 2 and a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 12372.0
Subtract 14 from 14 to get 0.
Include the next digit (5) from the dividend after 0, then repeat: 5 / 7

Step 6:
When dividing 5 by 7, we get 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 123720.0
Subtract 0 from 5 to 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.

On to step 7:
7 goes into 50 7 times with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 123720.7
Deduct 49 from 50 and we're left 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.

Step 8:
When dividing 10 by 7, we get 1 with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 123720.71
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.

Moving on to step 9:
If we divide 30 by 7, we get 4 and a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 123720.714
Deduct 28 from 30 and we're left 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.

Moving on to step 10:
7 can be fit into 20 2 times, resulting in a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 123720.7142
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.

Advancing to step 11:
When dividing 60 by 7, we get 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 123720.71428
Deduct 56 from 60 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 12:
The number 7 fits into 40 5 times, leaving a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 123720.714285
Subtract 35 from 40 to 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.

Step 13:
7 can be fit into 50 7 times, resulting in a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 123720.7142857
Subtracting 49 from 50 leaves us 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.

Let's proceed to step 14:
When dividing 10 by 7, we get 1 with a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 123720.71428571
Subtract 7 from 10 to 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.

In conclusion, the division gives 123720.71428571 with a balance of 3e-09.