We look at the division of 502247 by 23 
We're looking to find how many times 23 goes into 502247.

Let's proceed to step 1:
The number 23 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 23

On to step 2:
23 goes into 50 2 times with a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtracting 46 from 50 leaves us with 4.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 23

On to step 3:
The number 23 fits into 42 1 times, leaving a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 21.0
If we subtract 23 from 42, we get 19.
Fetch the next digit (2) from the dividend, attach it to 19 and continue: 192 / 23

Advancing to step 4:
If we divide 192 by 23, we get 8 and a remainder of 8.
The next digit of our result is 8. 
Result so far: 218.0
Subtract 184 from 192 to get 8.
Append the next digit (4) from the dividend to 8 and continue with: 84 / 23

On to step 5:
When dividing 84 by 23, we get 3 with a remainder of 15.
Put 3 as the next digit of the answer. 
Result so far: 2183.0
Subtract 69 from 84 to get 15.
Include the next digit (7) from the dividend after 15, then repeat: 157 / 23

Advancing to step 6:
If we divide 157 by 23, we get 6 and a remainder of 19.
Write down 6 as next digit of the result. 
Result so far: 21836.0
Deduct 138 from 157 and we're left 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.

Going ahead to step 7:
23 goes into 190 8 times with a remainder of 6.
Put 8 as the next digit of the answer. 
Result so far: 21836.8
The remainder is 6 after subtracting 184 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 8:
When dividing 60 by 23, we get 2 with a remainder of 14.
Put 2 as the next digit of the answer. 
Result so far: 21836.82
Subtracting 46 from 60 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 9:
When dividing 140 by 23, we get 6 with a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 21836.826
The remainder is 2 after subtracting 138 from 140.
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 10:
The number 23 fits into 20 0 times, leaving a remainder of 20.
The next digit of our result is 0. 
Result so far: 21836.826
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.

On to step 11:
23 goes into 200 8 times with a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 21836.82608
If we subtract 184 from 200, 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 12:
If we divide 160 by 23, we get 6 and a remainder of 22.
The next digit of our result is 6. 
Result so far: 21836.826086
If we take 138 away from 160, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 13:
23 can be fit into 220 9 times, resulting in a remainder of 13.
Write down 9 as next digit of the result. 
Result so far: 21836.8260869
If we subtract 207 from 220, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 14:
23 can be fit into 130 5 times, resulting in a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 21836.82608695
If we take 115 away from 130, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

The final result is 21836.82608695 with a remainder of 1.5e-08.