We're dividing 51860 by 7 
We want to divide 51860 by 7.

Let's proceed to step 1:
If we divide 5 by 7, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 7

Advancing to step 2:
If we divide 51 by 7, we get 7 and a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 7.0
Deduct 49 from 51 and we're left with 2.
Include the next digit (8) from the dividend after 2, then repeat: 28 / 7

Step 3:
If we divide 28 by 7, we get 4 and a remainder of 0.
The next digit of our result is 4. 
Result so far: 74.0
Subtract 28 from 28 to get 0.
Append the next digit (6) from the dividend to 0 and continue with: 6 / 7

Going ahead to step 4:
6 divided by 7 is 0 with a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 740.0
The remainder is 6 after subtracting 0 from 6.
Grab the next digit (0) from the dividend, add it to 6, then carry on: 60 / 7

Advancing to step 5:
7 can be fit into 60 8 times, resulting in a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 7408.0
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.

On to step 6:
If we divide 40 by 7, we get 5 and a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 7408.5
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 7:
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: 7408.57
The remainder is 1 after subtracting 49 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 8:
7 goes into 10 1 times with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 7408.571
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.

Moving on to step 9:
7 can be fit into 30 4 times, resulting in a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 7408.5714
The remainder is 2 after subtracting 28 from 30.
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:
If we divide 20 by 7, we get 2 and a remainder of 6.
The next digit of our result is 2. 
Result so far: 7408.57142
If we subtract 14 from 20, we 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.

Going ahead to step 11:
7 goes into 60 8 times with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 7408.571428
Subtracting 56 from 60 leaves us 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.

On to step 12:
When dividing 40 by 7, we get 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 7408.5714285
Subtracting 35 from 40 leaves us with 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:
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: 7408.57142857
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.

The final outcome is 7408.57142857, with a leftover of 1e-09.