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

Advancing to step 1:
77 goes into 2 0 times with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 77

Let's proceed to step 2:
The number 77 fits into 22 0 times, leaving a remainder of 22.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 22 and we're left with 22.
Take the next digit (0) from the dividend and append it to 22, then repeat: 220 / 77

Let's proceed to step 3:
77 goes into 220 2 times with a remainder of 66.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we take 154 away from 220, we end up with 66.
Bring next digit (1) of the dividend behind the 66 and repeat the process: 661 / 77

Going ahead to step 4:
The number 77 fits into 661 8 times, leaving a remainder of 45.
Write down 8 as next digit of the result. 
Result so far: 28.0
Deduct 616 from 661 and we're left with 45.
Include the next digit (7) from the dividend after 45, then repeat: 457 / 77

Moving on to step 5:
When dividing 457 by 77, we get 5 with a remainder of 72.
Write down 5 as next digit of the result. 
Result so far: 285.0
If we take 385 away from 457, we end up with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

On to step 6:
If we divide 720 by 77, we get 9 and a remainder of 27.
Write down 9 as next digit of the result. 
Result so far: 285.9
If we subtract 693 from 720, 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.

Moving on to step 7:
When dividing 270 by 77, we get 3 with a remainder of 39.
Put 3 as the next digit of the answer. 
Result so far: 285.93
Deduct 231 from 270 and we're left with 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:
77 can be fit into 390 5 times, resulting in a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 285.935
If we subtract 385 from 390, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 9:
The number 77 fits into 50 0 times, leaving a remainder of 50.
The next digit of our result is 0. 
Result so far: 285.935
Subtract 0 from 50 to get 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.
The number 6 becomes the next digit in our result. 
Result so far: 285.93506
If we take 462 away from 500, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 11:
77 can be fit into 380 4 times, resulting in a remainder of 72.
Write down 4 as next digit of the result. 
Result so far: 285.935064
If we take 308 away from 380, we end up with 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:
77 can be fit into 720 9 times, resulting in a remainder of 27.
Put 9 as the next digit of the answer. 
Result so far: 285.9350649
The remainder is 27 after subtracting 693 from 720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 13:
When dividing 270 by 77, we get 3 with a remainder of 39.
Put 3 as the next digit of the answer. 
Result so far: 285.93506493
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.

The final outcome is 285.93506493, with a leftover of 3.9e-08.