397237 ÷ 23 
We're looking to find how many times 23 goes into 397237.

Going ahead to step 1:
When dividing 3 by 23, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 23

Step 2:
When dividing 39 by 23, we get 1 with a remainder of 16.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 23 from 39, we get 16.
Take the next digit (7) from the dividend and append it to 16, then repeat: 167 / 23

Let's proceed to step 3:
23 can be fit into 167 7 times, resulting in a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 17.0
If we subtract 161 from 167, we get 6.
Bring next digit (2) of the dividend behind the 6 and repeat the process: 62 / 23

On to step 4:
62 divided by 23 is 2 with a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 172.0
Subtracting 46 from 62 leaves us with 16.
Fetch the next digit (3) from the dividend, attach it to 16 and continue: 163 / 23

Step 5:
The number 23 fits into 163 7 times, leaving a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 1727.0
The remainder is 2 after subtracting 161 from 163.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 23

Advancing to step 6:
23 can be fit into 27 1 times, resulting in a remainder of 4.
The next digit of our result is 1. 
Result so far: 17271.0
Subtract 23 from 27 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 7:
If we divide 40 by 23, we get 1 and a remainder of 17.
The next digit of our result is 1. 
Result so far: 17271.1
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 8:
When dividing 170 by 23, we get 7 with a remainder of 9.
Use 7 as the next digit of our solution. 
Result so far: 17271.17
Deduct 161 from 170 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

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

Step 10:
23 goes into 210 9 times with a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 17271.1739
If we take 207 away from 210, we end up 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.

On to step 11:
If we divide 30 by 23, we get 1 and a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 17271.17391
Deduct 23 from 30 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 12:
When dividing 70 by 23, we get 3 with a remainder of 1.
The next digit of our result is 3. 
Result so far: 17271.173913
The remainder is 1 after subtracting 69 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 13:
If we divide 10 by 23, we get 0 and a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 17271.173913
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.

Going ahead to step 14:
23 can be fit into 100 4 times, resulting in a remainder of 8.
The next digit of our result is 4. 
Result so far: 17271.17391304
If we subtract 92 from 100, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final result is 17271.17391304 with a remainder of 8e-09.