165223 ÷ 38 
We want to figure out the number of times 165223 can be divided by 38.

Step 1:
If we divide 1 by 38, we get 0 and a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 38

Let's proceed to step 2:
38 can be fit into 16 0 times, resulting in a remainder of 16.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 16 after subtracting 0 from 16.
Grab the next digit (5) from the dividend, add it to 16, then carry on: 165 / 38

Let's proceed to step 3:
38 goes into 165 4 times with a remainder of 13.
The next digit of our result is 4. 
Result so far: 4.0
The remainder is 13 after subtracting 152 from 165.
Fetch the next digit (2) from the dividend, attach it to 13 and continue: 132 / 38

Going ahead to step 4:
When dividing 132 by 38, we get 3 with a remainder of 18.
The next digit of our result is 3. 
Result so far: 43.0
Subtract 114 from 132 to get 18.
Append the next digit (2) from the dividend to 18 and continue with: 182 / 38

Advancing to step 5:
If we divide 182 by 38, we get 4 and a remainder of 30.
Write down 4 as next digit of the result. 
Result so far: 434.0
Subtract 152 from 182 to get 30.
Append the next digit (3) from the dividend to 30 and continue with: 303 / 38

Moving on to step 6:
38 goes into 303 7 times with a remainder of 37.
Write down 7 as next digit of the result. 
Result so far: 4347.0
If we take 266 away from 303, we end up with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

On to step 7:
When dividing 370 by 38, we get 9 with a remainder of 28.
The next digit of our result is 9. 
Result so far: 4347.9
Subtract 342 from 370 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 8:
If we divide 280 by 38, we get 7 and a remainder of 14.
The number 7 becomes the next digit in our result. 
Result so far: 4347.97
Subtracting 266 from 280 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.

Advancing to step 9:
If we divide 140 by 38, we get 3 and a remainder of 26.
Record the quotient 3 as the next digit in the result. 
Result so far: 4347.973
The remainder is 26 after subtracting 114 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 10:
38 can be fit into 260 6 times, resulting in a remainder of 32.
Use 6 as the next digit of our solution. 
Result so far: 4347.9736
Deduct 228 from 260 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 11:
The number 38 fits into 320 8 times, leaving a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 4347.97368
Subtracting 304 from 320 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 12:
If we divide 160 by 38, we get 4 and a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 4347.973684
If we subtract 152 from 160, 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.

Let's proceed to step 13:
80 divided by 38 is 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 4347.9736842
Deduct 76 from 80 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 14:
If we divide 40 by 38, we get 1 and a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 4347.97368421
Subtract 38 from 40 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.

Our division results in 4347.97368421 with a remaining 2e-09.