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

On to step 1:
When dividing 7 by 7, we get 1 with a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 7 away from 7, we end up with 0.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 7

On to step 2:
8 divided by 7 is 1 with a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 11.0
Subtracting 7 from 8 leaves us with 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 7

Moving on to step 3:
The number 7 fits into 16 2 times, leaving a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 112.0
If we subtract 14 from 16, we get 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 7

Advancing to step 4:
24 divided by 7 is 3 with a remainder of 3.
Write down 3 as next digit of the result. 
Result so far: 1123.0
The remainder is 3 after subtracting 21 from 24.
Grab the next digit (8) from the dividend, add it to 3, then carry on: 38 / 7

Step 5:
7 goes into 38 5 times with a remainder of 3.
The next digit of our result is 5. 
Result so far: 11235.0
If we take 35 away from 38, we end up with 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 7

Step 6:
The number 7 fits into 37 5 times, leaving a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 112355.0
Subtract 35 from 37 to get 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 7:
20 divided by 7 is 2 with a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 112355.2
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.

Advancing to step 8:
60 divided by 7 is 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 112355.28
Subtract 56 from 60 to 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.

Step 9:
40 divided by 7 is 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 112355.285
The remainder is 5 after subtracting 35 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 10:
If we divide 50 by 7, we get 7 and a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 112355.2857
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.

On to step 11:
7 goes into 10 1 times with a remainder of 3.
The next digit of our result is 1. 
Result so far: 112355.28571
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.

Going ahead to step 12:
7 can be fit into 30 4 times, resulting in a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 112355.285714
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.

Let's proceed to step 13:
When dividing 20 by 7, we get 2 with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 112355.2857142
Deduct 14 from 20 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.

Advancing to step 14:
60 divided by 7 is 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 112355.28571428
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.

The final outcome is 112355.28571428, with a leftover of 4e-09.