We look at the division of 581977 by 28 
Let's see how many times 28 fits into 581977.

Going ahead to step 1:
5 divided by 28 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 28

Step 2:
The number 28 fits into 58 2 times, leaving a remainder of 2.
The next digit of our result is 2. 
Result so far: 2.0
The remainder is 2 after subtracting 56 from 58.
Bring next digit (1) of the dividend behind the 2 and repeat the process: 21 / 28

Going ahead to step 3:
The number 28 fits into 21 0 times, leaving a remainder of 21.
The number 0 becomes the next digit in our result. 
Result so far: 20.0
If we subtract 0 from 21, we get 21.
Bring next digit (9) of the dividend behind the 21 and repeat the process: 219 / 28

Advancing to step 4:
28 can be fit into 219 7 times, resulting in a remainder of 23.
Put 7 as the next digit of the answer. 
Result so far: 207.0
Subtract 196 from 219 to get 23.
Append the next digit (7) from the dividend to 23 and continue with: 237 / 28

Step 5:
If we divide 237 by 28, we get 8 and a remainder of 13.
Write down 8 as next digit of the result. 
Result so far: 2078.0
Subtract 224 from 237 to get 13.
Grab the next digit (7) from the dividend, add it to 13, then carry on: 137 / 28

Let's proceed to step 6:
The number 28 fits into 137 4 times, leaving a remainder of 25.
The number 4 becomes the next digit in our result. 
Result so far: 20784.0
If we take 112 away from 137, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 7:
When dividing 250 by 28, we get 8 with a remainder of 26.
Put 8 as the next digit of the answer. 
Result so far: 20784.8
Deduct 224 from 250 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 8:
When dividing 260 by 28, we get 9 with a remainder of 8.
Put 9 as the next digit of the answer. 
Result so far: 20784.89
Deduct 252 from 260 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 9:
80 divided by 28 is 2 with a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 20784.892
Deduct 56 from 80 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 10:
28 goes into 240 8 times with a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 20784.8928
If we subtract 224 from 240, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 11:
When dividing 160 by 28, we get 5 with a remainder of 20.
Put 5 as the next digit of the answer. 
Result so far: 20784.89285
If we subtract 140 from 160, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 12:
If we divide 200 by 28, we get 7 and a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 20784.892857
Subtracting 196 from 200 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.

On to step 13:
28 can be fit into 40 1 times, resulting in a remainder of 12.
Use 1 as the next digit of our solution. 
Result so far: 20784.8928571
The remainder is 12 after subtracting 28 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 14:
28 can be fit into 120 4 times, resulting in a remainder of 8.
The next digit of our result is 4. 
Result so far: 20784.89285714
The remainder is 8 after subtracting 112 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The quotient of the division is 20784.89285714, and the remainder is 8e-09.