512097 ÷ 23 
We want to figure out the number of times 512097 can be divided by 23.

Step 1:
When dividing 5 by 23, we get 0 with 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 (1) from the dividend to 5 and continue with: 51 / 23

On to step 2:
23 can be fit into 51 2 times, resulting in a remainder of 5.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtract 46 from 51 to get 5.
Bring next digit (2) of the dividend behind the 5 and repeat the process: 52 / 23

On to step 3:
The number 23 fits into 52 2 times, leaving a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 22.0
The remainder is 6 after subtracting 46 from 52.
Bring next digit (0) of the dividend behind the 6 and repeat the process: 60 / 23

Going ahead to step 4:
If we divide 60 by 23, we get 2 and a remainder of 14.
Record the quotient 2 as the next digit in the result. 
Result so far: 222.0
If we take 46 away from 60, we end up with 14.
Take the next digit (9) from the dividend and append it to 14, then repeat: 149 / 23

Step 5:
23 goes into 149 6 times with a remainder of 11.
Write down 6 as next digit of the result. 
Result so far: 2226.0
Deduct 138 from 149 and we're left with 11.
Bring next digit (7) of the dividend behind the 11 and repeat the process: 117 / 23

On to step 6:
The number 23 fits into 117 5 times, leaving a remainder of 2.
The number 5 becomes the next digit in our result. 
Result so far: 22265.0
Subtract 115 from 117 to 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.

On to step 7:
The number 23 fits into 20 0 times, leaving a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 22265.0
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.

Let's proceed to step 8:
The number 23 fits into 200 8 times, leaving a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 22265.08
The remainder is 16 after subtracting 184 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 9:
23 can be fit into 160 6 times, resulting in a remainder of 22.
Use 6 as the next digit of our solution. 
Result so far: 22265.086
The remainder is 22 after subtracting 138 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 10:
220 divided by 23 is 9 with a remainder of 13.
The next digit of our result is 9. 
Result so far: 22265.0869
Subtracting 207 from 220 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.

Advancing to step 11:
If we divide 130 by 23, we get 5 and a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 22265.08695
Subtracting 115 from 130 leaves us 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.

Moving on to step 12:
The number 23 fits into 150 6 times, leaving a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 22265.086956
Subtract 138 from 150 to 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.

Going ahead to step 13:
23 can be fit into 120 5 times, resulting in a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 22265.0869565
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.

On to step 14:
The number 23 fits into 50 2 times, leaving a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 22265.08695652
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.

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