We're dividing 397036 by 23 
We want to figure out the number of times 397036 can be divided by 23.

Step 1:
If we divide 3 by 23, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 23

Advancing to 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
Subtracting 23 from 39 leaves us with 16.
Bring next digit (7) of the dividend behind the 16 and repeat the process: 167 / 23

Step 3:
The number 23 fits into 167 7 times, leaving a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 17.0
If we subtract 161 from 167, we get 6.
Append the next digit (0) from the dividend to 6 and continue with: 60 / 23

Advancing to step 4:
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: 172.0
If we subtract 46 from 60, we get 14.
Include the next digit (3) from the dividend after 14, then repeat: 143 / 23

Advancing to step 5:
The number 23 fits into 143 6 times, leaving a remainder of 5.
Put 6 as the next digit of the answer. 
Result so far: 1726.0
Deduct 138 from 143 and we're left with 5.
Grab the next digit (6) from the dividend, add it to 5, then carry on: 56 / 23

Moving on to step 6:
The number 23 fits into 56 2 times, leaving a remainder of 10.
Record the quotient 2 as the next digit in the result. 
Result so far: 17262.0
If we take 46 away from 56, we end up with 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 7:
23 can be fit into 100 4 times, resulting in a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 17262.4
The remainder is 8 after subtracting 92 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 8:
If we divide 80 by 23, we get 3 and a remainder of 11.
Use 3 as the next digit of our solution. 
Result so far: 17262.43
Subtract 69 from 80 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 9:
23 goes into 110 4 times with a remainder of 18.
Put 4 as the next digit of the answer. 
Result so far: 17262.434
Deduct 92 from 110 and we're left with 18.
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 10:
If we divide 180 by 23, we get 7 and a remainder of 19.
Write down 7 as next digit of the result. 
Result so far: 17262.4347
Subtract 161 from 180 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Let's proceed to step 11:
23 can be fit into 190 8 times, resulting in a remainder of 6.
The next digit of our result is 8. 
Result so far: 17262.43478
If we subtract 184 from 190, we 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 12:
60 divided by 23 is 2 with a remainder of 14.
The number 2 becomes the next digit in our result. 
Result so far: 17262.434782
Deduct 46 from 60 and we're left 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.

Let's proceed to step 13:
The number 23 fits into 140 6 times, leaving a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 17262.4347826
If we subtract 138 from 140, we 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.

Step 14:
23 goes into 20 0 times with a remainder of 20.
The next digit of our result is 0. 
Result so far: 17262.4347826
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.

After the division, we end up with 17262.4347826 and a remainder of 2e-08.