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

On to step 1:
The number 7 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Append the next digit (4) from the dividend to 5 and continue with: 54 / 7

Moving on to step 2:
The number 7 fits into 54 7 times, leaving a remainder of 5.
Put 7 as the next digit of the answer. 
Result so far: 7.0
If we take 49 away from 54, we end up with 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 7

Let's proceed to step 3:
50 divided by 7 is 7 with a remainder of 1.
The next digit of our result is 7. 
Result so far: 77.0
The remainder is 1 after subtracting 49 from 50.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 7

Moving on to step 4:
12 divided by 7 is 1 with a remainder of 5.
Use 1 as the next digit of our solution. 
Result so far: 771.0
If we subtract 7 from 12, we get 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 7

Let's proceed to step 5:
51 divided by 7 is 7 with a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 7717.0
Deduct 49 from 51 and we're left with 2.
Bring next digit (3) of the dividend behind the 2 and repeat the process: 23 / 7

On to step 6:
The number 7 fits into 23 3 times, leaving a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 77173.0
If we take 21 away from 23, we end up 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 7:
If we divide 20 by 7, we get 2 and a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 77173.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.

Going ahead to step 8:
7 can be fit into 60 8 times, resulting in a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 77173.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.

On to step 9:
The number 7 fits into 40 5 times, leaving a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 77173.285
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.

Moving on to step 10:
50 divided by 7 is 7 with a remainder of 1.
The next digit of our result is 7. 
Result so far: 77173.2857
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.

Let's proceed to step 11:
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: 77173.28571
Deduct 7 from 10 and we're left 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.

Advancing to step 12:
When dividing 30 by 7, we get 4 with a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 77173.285714
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.

Step 13:
If we divide 20 by 7, we get 2 and a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 77173.2857142
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.

Moving on to step 14:
The number 7 fits into 60 8 times, leaving a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 77173.28571428
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.

The quotient of the division is 77173.28571428, and the remainder is 4e-09.