We divide 20583 by 40
Our goal is to divide 20583 by 40.

Advancing to step 1:
40 goes into 2 0 times with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Append the next digit (0) from the dividend to 2 and continue with: 20 / 40

Advancing to step 2:
20 divided by 40 is 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 20 leaves us with 20.
Include the next digit (5) from the dividend after 20, then repeat: 205 / 40

Step 3:
205 divided by 40 is 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Deduct 200 from 205 and we're left with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 40

Moving on to step 4:
40 goes into 58 1 times with a remainder of 18.
Put 1 as the next digit of the answer. 
Result so far: 51.0
The remainder is 18 after subtracting 40 from 58.
Include the next digit (3) from the dividend after 18, then repeat: 183 / 40

Step 5:
40 goes into 183 4 times with a remainder of 23.
The number 4 becomes the next digit in our result. 
Result so far: 514.0
Subtract 160 from 183 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 6:
When dividing 230 by 40, we get 5 with a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 514.5
Deduct 200 from 230 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 7:
The number 40 fits into 300 7 times, leaving a remainder of 20.
Record the quotient 7 as the next digit in the result. 
Result so far: 514.57
The remainder is 20 after subtracting 280 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 8:
The number 40 fits into 200 5 times, leaving a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 514.575
Subtract 200 from 200 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
40 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 514.575
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 514.575
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 514.575 with a remaining 0.0.