166987 divided by 49 
Let's see how many times 49 fits into 166987.

Advancing to step 1:
When dividing 1 by 49, we get 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 49

Advancing to step 2:
16 divided by 49 is 0 with a remainder of 16.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 16, we get 16.
Grab the next digit (6) from the dividend, add it to 16, then carry on: 166 / 49

Moving on to step 3:
49 can be fit into 166 3 times, resulting in a remainder of 19.
Write down 3 as next digit of the result. 
Result so far: 3.0
The remainder is 19 after subtracting 147 from 166.
Append the next digit (9) from the dividend to 19 and continue with: 199 / 49

Advancing to step 4:
When dividing 199 by 49, we get 4 with a remainder of 3.
Put 4 as the next digit of the answer. 
Result so far: 34.0
If we take 196 away from 199, we end up with 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 49

On to step 5:
The number 49 fits into 38 0 times, leaving a remainder of 38.
Record the quotient 0 as the next digit in the result. 
Result so far: 340.0
Subtracting 0 from 38 leaves us with 38.
Bring next digit (7) of the dividend behind the 38 and repeat the process: 387 / 49

Moving on to step 6:
49 can be fit into 387 7 times, resulting in a remainder of 44.
Write down 7 as next digit of the result. 
Result so far: 3407.0
Deduct 343 from 387 and we're left 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.

On to step 7:
When dividing 440 by 49, we get 8 with a remainder of 48.
Put 8 as the next digit of the answer. 
Result so far: 3407.8
If we take 392 away from 440, we end up with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Step 8:
49 can be fit into 480 9 times, resulting in a remainder of 39.
The number 9 becomes the next digit in our result. 
Result so far: 3407.89
Subtracting 441 from 480 leaves us 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 9:
49 can be fit into 390 7 times, resulting in a remainder of 47.
Write down 7 as next digit of the result. 
Result so far: 3407.897
If we subtract 343 from 390, we get 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Advancing to step 10:
If we divide 470 by 49, we get 9 and a remainder of 29.
Put 9 as the next digit of the answer. 
Result so far: 3407.8979
If we take 441 away from 470, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Going ahead to step 11:
The number 49 fits into 290 5 times, leaving a remainder of 45.
The number 5 becomes the next digit in our result. 
Result so far: 3407.89795
Deduct 245 from 290 and we're left with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Going ahead to step 12:
When dividing 450 by 49, we get 9 with a remainder of 9.
Write down 9 as next digit of the result. 
Result so far: 3407.897959
If we take 441 away from 450, we end up 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.

On to step 13:
90 divided by 49 is 1 with a remainder of 41.
The next digit of our result is 1. 
Result so far: 3407.8979591
Subtracting 49 from 90 leaves us with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Moving on to step 14:
410 divided by 49 is 8 with a remainder of 18.
Record the quotient 8 as the next digit in the result. 
Result so far: 3407.89795918
Subtract 392 from 410 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Our division results in 3407.89795918 with a remaining 1.8e-08.