Let's divide 509578 by 23
We want to figure out the number of times 509578 can be divided by 23.

On to step 1:
23 can be fit into 5 0 times, resulting in a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 23

Moving on to step 2:
23 can be fit into 50 2 times, resulting in a remainder of 4.
The next digit of our result is 2. 
Result so far: 2.0
The remainder is 4 after subtracting 46 from 50.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 23

Step 3:
If we divide 49 by 23, we get 2 and a remainder of 3.
The number 2 becomes the next digit in our result. 
Result so far: 22.0
Subtracting 46 from 49 leaves us with 3.
Take the next digit (5) from the dividend and append it to 3, then repeat: 35 / 23

On to step 4:
23 can be fit into 35 1 times, resulting in a remainder of 12.
Write down 1 as next digit of the result. 
Result so far: 221.0
The remainder is 12 after subtracting 23 from 35.
Grab the next digit (7) from the dividend, add it to 12, then carry on: 127 / 23

Moving on to step 5:
The number 23 fits into 127 5 times, leaving a remainder of 12.
Use 5 as the next digit of our solution. 
Result so far: 2215.0
The remainder is 12 after subtracting 115 from 127.
Fetch the next digit (8) from the dividend, attach it to 12 and continue: 128 / 23

Step 6:
If we divide 128 by 23, we get 5 and a remainder of 13.
The next digit of our result is 5. 
Result so far: 22155.0
Subtracting 115 from 128 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 7:
The number 23 fits into 130 5 times, leaving a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 22155.5
Subtract 115 from 130 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 8:
23 can be fit into 150 6 times, resulting in a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 22155.56
If we subtract 138 from 150, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 9:
23 goes into 120 5 times with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 22155.565
If we subtract 115 from 120, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 10:
If we divide 50 by 23, we get 2 and a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 22155.5652
The remainder is 4 after subtracting 46 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 11:
23 can be fit into 40 1 times, resulting in a remainder of 17.
Put 1 as the next digit of the answer. 
Result so far: 22155.56521
Subtract 23 from 40 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 12:
The number 23 fits into 170 7 times, leaving a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 22155.565217
If we subtract 161 from 170, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 13:
If we divide 90 by 23, we get 3 and a remainder of 21.
Use 3 as the next digit of our solution. 
Result so far: 22155.5652173
Subtracting 69 from 90 leaves us with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 14:
210 divided by 23 is 9 with a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 22155.56521739
Deduct 207 from 210 and we're left 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.

The quotient of the division is 22155.56521739, and the remainder is 3e-09.