We divide 583004 by 27
We want to figure out the number of times 583004 can be divided by 27.

Moving on to step 1:
The number 27 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 27

Advancing to step 2:
The number 27 fits into 58 2 times, leaving a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we subtract 54 from 58, we get 4.
Take the next digit (3) from the dividend and append it to 4, then repeat: 43 / 27

Going ahead to step 3:
The number 27 fits into 43 1 times, leaving a remainder of 16.
Write down 1 as next digit of the result. 
Result so far: 21.0
Subtract 27 from 43 to get 16.
Append the next digit (0) from the dividend to 16 and continue with: 160 / 27

Going ahead to step 4:
If we divide 160 by 27, we get 5 and a remainder of 25.
The next digit of our result is 5. 
Result so far: 215.0
The remainder is 25 after subtracting 135 from 160.
Grab the next digit (0) from the dividend, add it to 25, then carry on: 250 / 27

Going ahead to step 5:
If we divide 250 by 27, we get 9 and a remainder of 7.
Use 9 as the next digit of our solution. 
Result so far: 2159.0
Subtracting 243 from 250 leaves us with 7.
Bring next digit (4) of the dividend behind the 7 and repeat the process: 74 / 27

Step 6:
When dividing 74 by 27, we get 2 with a remainder of 20.
Write down 2 as next digit of the result. 
Result so far: 21592.0
If we subtract 54 from 74, 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.

Step 7:
When dividing 200 by 27, we get 7 with a remainder of 11.
The number 7 becomes the next digit in our result. 
Result so far: 21592.7
The remainder is 11 after subtracting 189 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 8:
The number 27 fits into 110 4 times, leaving a remainder of 2.
The next digit of our result is 4. 
Result so far: 21592.74
Subtracting 108 from 110 leaves us 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.

On to step 9:
When dividing 20 by 27, we get 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 21592.74
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 10:
The number 27 fits into 200 7 times, leaving a remainder of 11.
Put 7 as the next digit of the answer. 
Result so far: 21592.7407
Deduct 189 from 200 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 11:
27 can be fit into 110 4 times, resulting in a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 21592.74074
Deduct 108 from 110 and we're left 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 12:
27 can be fit into 20 0 times, resulting in a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 21592.74074
Subtracting 0 from 20 leaves us with 20.
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 13:
When dividing 200 by 27, we get 7 with a remainder of 11.
Write down 7 as next digit of the result. 
Result so far: 21592.7407407
Subtract 189 from 200 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 14:
When dividing 110 by 27, we get 4 with a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 21592.74074074
If we subtract 108 from 110, we 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.

After the division, we end up with 21592.74074074 and a remainder of 2e-09.