20540 ÷ 7 
Let's see how many times 7 fits into 20540.

Going ahead to step 1:
When dividing 2 by 7, we get 0 with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Append the next digit (0) from the dividend to 2 and continue with: 20 / 7

Advancing to step 2:
20 divided by 7 is 2 with a remainder of 6.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 14 from 20 leaves us with 6.
Take the next digit (5) from the dividend and append it to 6, then repeat: 65 / 7

On to step 3:
The number 7 fits into 65 9 times, leaving a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 29.0
If we take 63 away from 65, we end up with 2.
Take the next digit (4) from the dividend and append it to 2, then repeat: 24 / 7

Going ahead to step 4:
7 goes into 24 3 times with a remainder of 3.
Write down 3 as next digit of the result. 
Result so far: 293.0
Deduct 21 from 24 and we're left with 3.
Grab the next digit (0) from the dividend, add it to 3, then carry on: 30 / 7

Moving on to step 5:
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: 2934.0
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 6:
When dividing 20 by 7, we get 2 with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 2934.2
Subtracting 14 from 20 leaves us 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 7:
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: 2934.28
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 8:
7 goes into 40 5 times with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 2934.285
Deduct 35 from 40 and we're left 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.

Advancing to step 9:
The number 7 fits into 50 7 times, leaving a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 2934.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 10:
7 goes into 10 1 times with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 2934.28571
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.

Advancing to step 11:
7 goes into 30 4 times with a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 2934.285714
Subtract 28 from 30 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.

Step 12:
When dividing 20 by 7, we get 2 with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 2934.2857142
Subtracting 14 from 20 leaves us 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.

On to step 13:
If we divide 60 by 7, we get 8 and a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 2934.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 2934.28571428, and the remainder is 4e-09.