We look at the division of 50858643 by 166 
We want to figure out the number of times 50858643 can be divided by 166.

Advancing to step 1:
The number 166 fits into 5 0 times, leaving a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 166

Advancing to step 2:
If we divide 50 by 166, we get 0 and a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Fetch the next digit (8) from the dividend, attach it to 50 and continue: 508 / 166

Let's proceed to step 3:
When dividing 508 by 166, we get 3 with a remainder of 10.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
The remainder is 10 after subtracting 498 from 508.
Bring next digit (5) of the dividend behind the 10 and repeat the process: 105 / 166

On to step 4:
If we divide 105 by 166, we get 0 and a remainder of 105.
Record the quotient 0 as the next digit in the result. 
Result so far: 30.0
If we subtract 0 from 105, we get 105.
Fetch the next digit (8) from the dividend, attach it to 105 and continue: 1058 / 166

On to step 5:
When dividing 1058 by 166, we get 6 with a remainder of 62.
The number 6 becomes the next digit in our result. 
Result so far: 306.0
Subtract 996 from 1058 to get 62.
Append the next digit (6) from the dividend to 62 and continue with: 626 / 166

Moving on to step 6:
If we divide 626 by 166, we get 3 and a remainder of 128.
The number 3 becomes the next digit in our result. 
Result so far: 3063.0
The remainder is 128 after subtracting 498 from 626.
Grab the next digit (4) from the dividend, add it to 128, then carry on: 1284 / 166

Going ahead to step 7:
166 goes into 1284 7 times with a remainder of 122.
Use 7 as the next digit of our solution. 
Result so far: 30637.0
If we subtract 1162 from 1284, we get 122.
Grab the next digit (3) from the dividend, add it to 122, then carry on: 1223 / 166

Moving on to step 8:
1223 divided by 166 is 7 with a remainder of 61.
The next digit of our result is 7. 
Result so far: 306377.0
Subtract 1162 from 1223 to get 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Let's proceed to step 9:
If we divide 610 by 166, we get 3 and a remainder of 112.
Use 3 as the next digit of our solution. 
Result so far: 306377.3
If we take 498 away from 610, we end up with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Step 10:
The number 166 fits into 1120 6 times, leaving a remainder of 124.
Record the quotient 6 as the next digit in the result. 
Result so far: 306377.36
Subtracting 996 from 1120 leaves us with 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Going ahead to step 11:
166 goes into 1240 7 times with a remainder of 78.
The number 7 becomes the next digit in our result. 
Result so far: 306377.367
If we take 1162 away from 1240, we end up with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Step 12:
166 can be fit into 780 4 times, resulting in a remainder of 116.
The next digit of our result is 4. 
Result so far: 306377.3674
If we subtract 664 from 780, we get 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

On to step 13:
166 goes into 1160 6 times with a remainder of 164.
Write down 6 as next digit of the result. 
Result so far: 306377.36746
If we subtract 996 from 1160, we get 164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

Let's proceed to step 14:
166 goes into 1640 9 times with a remainder of 146.
The number 9 becomes the next digit in our result. 
Result so far: 306377.367469
Subtracting 1494 from 1640 leaves us with 146.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1460, and continue the process.

Moving on to step 15:
If we divide 1460 by 166, we get 8 and a remainder of 132.
Put 8 as the next digit of the answer. 
Result so far: 306377.3674698
Deduct 1328 from 1460 and we're left with 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

Step 16:
166 goes into 1320 7 times with a remainder of 158.
Use 7 as the next digit of our solution. 
Result so far: 306377.36746987
Subtract 1162 from 1320 to get 158.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1580, and continue the process.

In conclusion, the division gives 306377.36746987 with a balance of 1.58e-07.