501940 divided by 7 
Our goal is to divide 501940 by 7.

Let's proceed to step 1:
7 can be fit into 5 0 times, resulting in a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 7

Moving on to step 2:
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: 7.0
If we subtract 49 from 50, we get 1.
Grab the next digit (1) from the dividend, add it to 1, then carry on: 11 / 7

Going ahead to step 3:
The number 7 fits into 11 1 times, leaving a remainder of 4.
Use 1 as the next digit of our solution. 
Result so far: 71.0
Deduct 7 from 11 and we're left with 4.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 7

Advancing to step 4:
When dividing 49 by 7, we get 7 with a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 717.0
Subtracting 49 from 49 leaves us with 0.
Append the next digit (4) from the dividend to 0 and continue with: 4 / 7

Going ahead to step 5:
4 divided by 7 is 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 7170.0
The remainder is 4 after subtracting 0 from 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 7

On to step 6:
If we divide 40 by 7, we get 5 and a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 71705.0
If we take 35 away from 40, we end up 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.

On to step 7:
7 can be fit into 50 7 times, resulting in a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 71705.7
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 8:
If we divide 10 by 7, we get 1 and a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 71705.71
The remainder is 3 after subtracting 7 from 10.
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:
When dividing 30 by 7, we get 4 with a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 71705.714
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.

Moving on to step 10:
7 can be fit into 20 2 times, resulting in a remainder of 6.
The next digit of our result is 2. 
Result so far: 71705.7142
The remainder is 6 after subtracting 14 from 20.
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:
60 divided by 7 is 8 with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 71705.71428
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.

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: 71705.714285
If we take 35 away from 40, we end up 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 can be fit into 50 7 times, resulting in a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 71705.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.

Moving on to step 14:
When dividing 10 by 7, we get 1 with a remainder of 3.
The next digit of our result is 1. 
Result so far: 71705.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.

The final outcome is 71705.71428571, with a leftover of 3e-09.