We're dividing 158494 by 77 
Let's see how many times 77 fits into 158494.

Let's proceed to step 1:
If we divide 1 by 77, we get 0 and a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 77

Step 2:
77 goes into 15 0 times with a remainder of 15.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 15 after subtracting 0 from 15.
Take the next digit (8) from the dividend and append it to 15, then repeat: 158 / 77

Going ahead to step 3:
When dividing 158 by 77, we get 2 with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we subtract 154 from 158, we get 4.
Append the next digit (4) from the dividend to 4 and continue with: 44 / 77

Moving on to step 4:
When dividing 44 by 77, we get 0 with a remainder of 44.
The next digit of our result is 0. 
Result so far: 20.0
If we take 0 away from 44, we end up with 44.
Grab the next digit (9) from the dividend, add it to 44, then carry on: 449 / 77

Let's proceed to step 5:
If we divide 449 by 77, we get 5 and a remainder of 64.
The number 5 becomes the next digit in our result. 
Result so far: 205.0
If we subtract 385 from 449, we get 64.
Grab the next digit (4) from the dividend, add it to 64, then carry on: 644 / 77

Advancing to step 6:
644 divided by 77 is 8 with a remainder of 28.
Use 8 as the next digit of our solution. 
Result so far: 2058.0
Deduct 616 from 644 and we're left with 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 7:
The number 77 fits into 280 3 times, leaving a remainder of 49.
Put 3 as the next digit of the answer. 
Result so far: 2058.3
If we subtract 231 from 280, we get 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Let's proceed to step 8:
The number 77 fits into 490 6 times, leaving a remainder of 28.
The next digit of our result is 6. 
Result so far: 2058.36
Deduct 462 from 490 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 9:
If we divide 280 by 77, we get 3 and a remainder of 49.
Put 3 as the next digit of the answer. 
Result so far: 2058.363
If we take 231 away from 280, we end up with 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Going ahead to step 10:
77 goes into 490 6 times with a remainder of 28.
Write down 6 as next digit of the result. 
Result so far: 2058.3636
Deduct 462 from 490 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 11:
The number 77 fits into 280 3 times, leaving a remainder of 49.
Put 3 as the next digit of the answer. 
Result so far: 2058.36363
Subtracting 231 from 280 leaves us with 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Advancing to step 12:
77 can be fit into 490 6 times, resulting in a remainder of 28.
Record the quotient 6 as the next digit in the result. 
Result so far: 2058.363636
Subtract 462 from 490 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.

Moving on to step 13:
If we divide 280 by 77, we get 3 and a remainder of 49.
Write down 3 as next digit of the result. 
Result so far: 2058.3636363
Deduct 231 from 280 and we're left with 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

On to step 14:
77 can be fit into 490 6 times, resulting in a remainder of 28.
Write down 6 as next digit of the result. 
Result so far: 2058.36363636
Deduct 462 from 490 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

After the division, we end up with 2058.36363636 and a remainder of 2.8e-08.