We're dividing 865077 by 38 
We're looking to find how many times 38 goes into 865077.

Going ahead to step 1:
The number 38 fits into 8 0 times, leaving a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Include the next digit (6) from the dividend after 8, then repeat: 86 / 38

Going ahead to step 2:
The number 38 fits into 86 2 times, leaving a remainder of 10.
The next digit of our result is 2. 
Result so far: 2.0
If we subtract 76 from 86, we get 10.
Append the next digit (5) from the dividend to 10 and continue with: 105 / 38

Let's proceed to step 3:
105 divided by 38 is 2 with a remainder of 29.
Write down 2 as next digit of the result. 
Result so far: 22.0
Deduct 76 from 105 and we're left with 29.
Grab the next digit (0) from the dividend, add it to 29, then carry on: 290 / 38

Step 4:
38 can be fit into 290 7 times, resulting in a remainder of 24.
Record the quotient 7 as the next digit in the result. 
Result so far: 227.0
Subtracting 266 from 290 leaves us with 24.
Bring next digit (7) of the dividend behind the 24 and repeat the process: 247 / 38

Advancing to step 5:
38 goes into 247 6 times with a remainder of 19.
The next digit of our result is 6. 
Result so far: 2276.0
Subtracting 228 from 247 leaves us with 19.
Append the next digit (7) from the dividend to 19 and continue with: 197 / 38

On to step 6:
38 goes into 197 5 times with a remainder of 7.
Put 5 as the next digit of the answer. 
Result so far: 22765.0
Deduct 190 from 197 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.

Let's proceed to step 7:
70 divided by 38 is 1 with a remainder of 32.
The number 1 becomes the next digit in our result. 
Result so far: 22765.1
If we subtract 38 from 70, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 8:
If we divide 320 by 38, we get 8 and a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 22765.18
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.

Let's proceed to step 9:
38 can be fit into 160 4 times, resulting in a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 22765.184
Deduct 152 from 160 and we're left 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.

Advancing to step 10:
The number 38 fits into 80 2 times, leaving a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 22765.1842
The remainder is 4 after subtracting 76 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 11:
40 divided by 38 is 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 22765.18421
The remainder is 2 after subtracting 38 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 12:
When dividing 20 by 38, we get 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 22765.18421
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 13:
The number 38 fits into 200 5 times, leaving a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 22765.1842105
Subtract 190 from 200 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.

Advancing to step 14:
38 can be fit into 100 2 times, resulting in a remainder of 24.
Write down 2 as next digit of the result. 
Result so far: 22765.18421052
Subtract 76 from 100 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

The final outcome is 22765.18421052, with a leftover of 2.4e-08.