We divide 505587 by 23
We want to divide 505587 by 23.

Advancing to step 1:
23 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 23

Going ahead to step 2:
50 divided by 23 is 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 46 from 50 and we're left with 4.
Fetch the next digit (5) from the dividend, attach it to 4 and continue: 45 / 23

On to step 3:
23 can be fit into 45 1 times, resulting in a remainder of 22.
Put 1 as the next digit of the answer. 
Result so far: 21.0
If we subtract 23 from 45, we get 22.
Take the next digit (5) from the dividend and append it to 22, then repeat: 225 / 23

Advancing to step 4:
23 can be fit into 225 9 times, resulting in a remainder of 18.
The next digit of our result is 9. 
Result so far: 219.0
Subtracting 207 from 225 leaves us with 18.
Include the next digit (8) from the dividend after 18, then repeat: 188 / 23

Moving on to step 5:
188 divided by 23 is 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 2198.0
Subtract 184 from 188 to get 4.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 23

Advancing to step 6:
If we divide 47 by 23, we get 2 and a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 21982.0
Subtracting 46 from 47 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.

Moving on to step 7:
If we divide 10 by 23, we get 0 and a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 21982.0
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 8:
When dividing 100 by 23, we get 4 with a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 21982.04
Subtracting 92 from 100 leaves us 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.

Step 9:
The number 23 fits into 80 3 times, leaving a remainder of 11.
Record the quotient 3 as the next digit in the result. 
Result so far: 21982.043
The remainder is 11 after subtracting 69 from 80.
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 10:
If we divide 110 by 23, we get 4 and a remainder of 18.
The number 4 becomes the next digit in our result. 
Result so far: 21982.0434
The remainder is 18 after subtracting 92 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 11:
The number 23 fits into 180 7 times, leaving a remainder of 19.
The number 7 becomes the next digit in our result. 
Result so far: 21982.04347
Subtracting 161 from 180 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 12:
23 can be fit into 190 8 times, resulting in a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 21982.043478
Subtract 184 from 190 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 13:
60 divided by 23 is 2 with a remainder of 14.
The next digit of our result is 2. 
Result so far: 21982.0434782
If we subtract 46 from 60, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 14:
140 divided by 23 is 6 with a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 21982.04347826
If we take 138 away from 140, we end up 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.

The quotient of the division is 21982.04347826, and the remainder is 2e-09.