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

Advancing to step 1:
77 can be fit into 3 0 times, resulting in a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 77

Going ahead to step 2:
If we divide 33 by 77, we get 0 and a remainder of 33.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 33, we get 33.
Take the next digit (8) from the dividend and append it to 33, then repeat: 338 / 77

Moving on to step 3:
The number 77 fits into 338 4 times, leaving a remainder of 30.
The next digit of our result is 4. 
Result so far: 4.0
If we take 308 away from 338, we end up with 30.
Grab the next digit (7) from the dividend, add it to 30, then carry on: 307 / 77

Moving on to step 4:
The number 77 fits into 307 3 times, leaving a remainder of 76.
Put 3 as the next digit of the answer. 
Result so far: 43.0
Subtracting 231 from 307 leaves us with 76.
Append the next digit (6) from the dividend to 76 and continue with: 766 / 77

Step 5:
The number 77 fits into 766 9 times, leaving a remainder of 73.
Put 9 as the next digit of the answer. 
Result so far: 439.0
If we take 693 away from 766, we end up with 73.
Grab the next digit (5) from the dividend, add it to 73, then carry on: 735 / 77

Advancing to step 6:
77 can be fit into 735 9 times, resulting in a remainder of 42.
Write down 9 as next digit of the result. 
Result so far: 4399.0
If we take 693 away from 735, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Advancing to step 7:
77 can be fit into 420 5 times, resulting in a remainder of 35.
The number 5 becomes the next digit in our result. 
Result so far: 4399.5
Subtract 385 from 420 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 8:
If we divide 350 by 77, we get 4 and a remainder of 42.
Write down 4 as next digit of the result. 
Result so far: 4399.54
If we subtract 308 from 350, we get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Let's proceed to step 9:
When dividing 420 by 77, we get 5 with a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 4399.545
If we subtract 385 from 420, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Let's proceed to step 10:
350 divided by 77 is 4 with a remainder of 42.
The number 4 becomes the next digit in our result. 
Result so far: 4399.5454
The remainder is 42 after subtracting 308 from 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Step 11:
420 divided by 77 is 5 with a remainder of 35.
Use 5 as the next digit of our solution. 
Result so far: 4399.54545
If we subtract 385 from 420, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 12:
When dividing 350 by 77, we get 4 with a remainder of 42.
Write down 4 as next digit of the result. 
Result so far: 4399.545454
If we subtract 308 from 350, we get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Step 13:
If we divide 420 by 77, we get 5 and a remainder of 35.
Use 5 as the next digit of our solution. 
Result so far: 4399.5454545
Deduct 385 from 420 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 14:
77 goes into 350 4 times with a remainder of 42.
Write down 4 as next digit of the result. 
Result so far: 4399.54545454
If we subtract 308 from 350, we get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

The quotient of the division is 4399.54545454, and the remainder is 4.2e-08.