Let's divide 166945 by 77
We want to divide 166945 by 77.

Going ahead to step 1:
77 can be fit into 1 0 times, resulting in a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 77

On to step 2:
77 can be fit into 16 0 times, resulting in a remainder of 16.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 16 to get 16.
Take the next digit (6) from the dividend and append it to 16, then repeat: 166 / 77

Going ahead to step 3:
77 can be fit into 166 2 times, resulting in a remainder of 12.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 154 from 166, we get 12.
Take the next digit (9) from the dividend and append it to 12, then repeat: 129 / 77

Advancing to step 4:
If we divide 129 by 77, we get 1 and a remainder of 52.
Record the quotient 1 as the next digit in the result. 
Result so far: 21.0
Deduct 77 from 129 and we're left with 52.
Grab the next digit (4) from the dividend, add it to 52, then carry on: 524 / 77

Let's proceed to step 5:
77 goes into 524 6 times with a remainder of 62.
Write down 6 as next digit of the result. 
Result so far: 216.0
The remainder is 62 after subtracting 462 from 524.
Take the next digit (5) from the dividend and append it to 62, then repeat: 625 / 77

Going ahead to step 6:
The number 77 fits into 625 8 times, leaving a remainder of 9.
Put 8 as the next digit of the answer. 
Result so far: 2168.0
Subtracting 616 from 625 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 7:
90 divided by 77 is 1 with a remainder of 13.
Write down 1 as next digit of the result. 
Result so far: 2168.1
The remainder is 13 after subtracting 77 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 8:
130 divided by 77 is 1 with a remainder of 53.
Use 1 as the next digit of our solution. 
Result so far: 2168.11
Subtract 77 from 130 to get 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

After the division, we end up with 2168.11 and a remainder of 0.053.