5965885 ÷ 166 
Our goal is to divide 5965885 by 166.

Going ahead to step 1:
The number 166 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (9) from the dividend and append it to 5, then repeat: 59 / 166

On to step 2:
166 goes into 59 0 times with a remainder of 59.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 59 and we're left with 59.
Take the next digit (6) from the dividend and append it to 59, then repeat: 596 / 166

Moving on to step 3:
596 divided by 166 is 3 with a remainder of 98.
The next digit of our result is 3. 
Result so far: 3.0
Deduct 498 from 596 and we're left with 98.
Take the next digit (5) from the dividend and append it to 98, then repeat: 985 / 166

Going ahead to step 4:
When dividing 985 by 166, we get 5 with a remainder of 155.
Put 5 as the next digit of the answer. 
Result so far: 35.0
Deduct 830 from 985 and we're left with 155.
Include the next digit (8) from the dividend after 155, then repeat: 1558 / 166

Let's proceed to step 5:
If we divide 1558 by 166, we get 9 and a remainder of 64.
The number 9 becomes the next digit in our result. 
Result so far: 359.0
If we take 1494 away from 1558, we end up with 64.
Include the next digit (8) from the dividend after 64, then repeat: 648 / 166

Step 6:
166 can be fit into 648 3 times, resulting in a remainder of 150.
The number 3 becomes the next digit in our result. 
Result so far: 3593.0
If we subtract 498 from 648, we get 150.
Include the next digit (5) from the dividend after 150, then repeat: 1505 / 166

Step 7:
When dividing 1505 by 166, we get 9 with a remainder of 11.
The number 9 becomes the next digit in our result. 
Result so far: 35939.0
Deduct 1494 from 1505 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 8:
110 divided by 166 is 0 with a remainder of 110.
The number 0 becomes the next digit in our result. 
Result so far: 35939.0
Subtract 0 from 110 to get 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Let's proceed to step 9:
When dividing 1100 by 166, we get 6 with a remainder of 104.
The number 6 becomes the next digit in our result. 
Result so far: 35939.06
Deduct 996 from 1100 and we're left with 104.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1040, and continue the process.

Let's proceed to step 10:
If we divide 1040 by 166, we get 6 and a remainder of 44.
Put 6 as the next digit of the answer. 
Result so far: 35939.066
If we take 996 away from 1040, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Our division results in 35939.066 with a remaining 0.0044.