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

Advancing to step 1:
If we divide 1 by 23, we get 0 and a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 23

Going ahead to step 2:
23 can be fit into 15 0 times, resulting in a remainder of 15.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 15, we end up with 15.
Append the next digit (8) from the dividend to 15 and continue with: 158 / 23

Moving on to step 3:
23 goes into 158 6 times with a remainder of 20.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
If we take 138 away from 158, we end up with 20.
Include the next digit (2) from the dividend after 20, then repeat: 202 / 23

Step 4:
23 goes into 202 8 times with a remainder of 18.
Put 8 as the next digit of the answer. 
Result so far: 68.0
Subtracting 184 from 202 leaves us with 18.
Include the next digit (1) from the dividend after 18, then repeat: 181 / 23

Moving on to step 5:
If we divide 181 by 23, we get 7 and a remainder of 20.
The next digit of our result is 7. 
Result so far: 687.0
If we subtract 161 from 181, we get 20.
Bring next digit (8) of the dividend behind the 20 and repeat the process: 208 / 23

Step 6:
23 can be fit into 208 9 times, resulting in a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 6879.0
Subtract 207 from 208 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 7:
10 divided by 23 is 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 6879.0
If we take 0 away from 10, 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.

Advancing to step 8:
23 goes into 100 4 times with a remainder of 8.
The next digit of our result is 4. 
Result so far: 6879.04
If we take 92 away from 100, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 9:
23 can be fit into 80 3 times, resulting in a remainder of 11.
The next digit of our result is 3. 
Result so far: 6879.043
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.

Going ahead to step 10:
23 can be fit into 110 4 times, resulting in a remainder of 18.
Use 4 as the next digit of our solution. 
Result so far: 6879.0434
Subtract 92 from 110 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 11:
23 can be fit into 180 7 times, resulting in a remainder of 19.
Put 7 as the next digit of the answer. 
Result so far: 6879.04347
If we subtract 161 from 180, we 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.

Step 12:
When dividing 190 by 23, we get 8 with a remainder of 6.
The number 8 becomes the next digit in our result. 
Result so far: 6879.043478
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.

Let's proceed to step 13:
23 goes into 60 2 times with a remainder of 14.
Use 2 as the next digit of our solution. 
Result so far: 6879.0434782
If we subtract 46 from 60, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 14:
When dividing 140 by 23, we get 6 with a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 6879.04347826
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.

The quotient of the division is 6879.04347826, and the remainder is 2e-09.