We're dividing 21583 by 4 
Our goal is to divide 21583 by 4.

Step 1:
4 can be fit into 2 0 times, resulting in a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 4

On to step 2:
If we divide 21 by 4, we get 5 and a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
The remainder is 1 after subtracting 20 from 21.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 4

Step 3:
4 can be fit into 15 3 times, resulting in a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 53.0
If we take 12 away from 15, we end up with 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 4

Advancing to step 4:
4 can be fit into 38 9 times, resulting in a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 539.0
Subtract 36 from 38 to get 2.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 4

On to step 5:
4 can be fit into 23 5 times, resulting in a remainder of 3.
Put 5 as the next digit of the answer. 
Result so far: 5395.0
If we take 20 away from 23, we end up 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 6:
4 can be fit into 30 7 times, resulting in a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 5395.7
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 7:
20 divided by 4 is 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 5395.75
If we take 20 away from 20, we end up 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.

Let's proceed to step 8:
When dividing 0 by 4, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 5395.75
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.

Advancing to step 9:
4 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 5395.75
Deduct 0 from 0 and we're left 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.

After the division, we end up with 5395.75 and a remainder of 0.0.