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

Going ahead to step 1:
When dividing 2 by 77, we get 0 with a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 77

Going ahead to step 2:
77 can be fit into 29 0 times, resulting in a remainder of 29.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 29, we end up with 29.
Grab the next digit (8) from the dividend, add it to 29, then carry on: 298 / 77

Going ahead to step 3:
77 goes into 298 3 times with a remainder of 67.
The next digit of our result is 3. 
Result so far: 3.0
Subtract 231 from 298 to get 67.
Grab the next digit (7) from the dividend, add it to 67, then carry on: 677 / 77

Going ahead to step 4:
If we divide 677 by 77, we get 8 and a remainder of 61.
Record the quotient 8 as the next digit in the result. 
Result so far: 38.0
The remainder is 61 after subtracting 616 from 677.
Append the next digit (8) from the dividend to 61 and continue with: 618 / 77

Let's proceed to step 5:
The number 77 fits into 618 8 times, leaving a remainder of 2.
The next digit of our result is 8. 
Result so far: 388.0
If we take 616 away from 618, we end up with 2.
Include the next digit (7) from the dividend after 2, then repeat: 27 / 77

Going ahead to step 6:
77 goes into 27 0 times with a remainder of 27.
Record the quotient 0 as the next digit in the result. 
Result so far: 3880.0
If we subtract 0 from 27, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 7:
If we divide 270 by 77, we get 3 and a remainder of 39.
Put 3 as the next digit of the answer. 
Result so far: 3880.3
Subtract 231 from 270 to get 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Step 8:
The number 77 fits into 390 5 times, leaving a remainder of 5.
The next digit of our result is 5. 
Result so far: 3880.35
If we take 385 away from 390, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 9:
50 divided by 77 is 0 with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 3880.35
Deduct 0 from 50 and we're left with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 10:
If we divide 500 by 77, we get 6 and a remainder of 38.
Put 6 as the next digit of the answer. 
Result so far: 3880.3506
If we subtract 462 from 500, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 11:
The number 77 fits into 380 4 times, leaving a remainder of 72.
Put 4 as the next digit of the answer. 
Result so far: 3880.35064
If we subtract 308 from 380, we get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Step 12:
If we divide 720 by 77, we get 9 and a remainder of 27.
Put 9 as the next digit of the answer. 
Result so far: 3880.350649
Subtract 693 from 720 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 13:
When dividing 270 by 77, we get 3 with a remainder of 39.
Write down 3 as next digit of the result. 
Result so far: 3880.3506493
The remainder is 39 after subtracting 231 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Let's proceed to step 14:
390 divided by 77 is 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 3880.35064935
Deduct 385 from 390 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The quotient of the division is 3880.35064935, and the remainder is 5e-09.