We're dividing 52158506 by 166 
Let's see how many times 166 fits into 52158506.

On to step 1:
The number 166 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (2) from the dividend, add it to 5, then carry on: 52 / 166

Going ahead to step 2:
52 divided by 166 is 0 with a remainder of 52.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 52 after subtracting 0 from 52.
Append the next digit (1) from the dividend to 52 and continue with: 521 / 166

Step 3:
521 divided by 166 is 3 with a remainder of 23.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we take 498 away from 521, we end up with 23.
Fetch the next digit (5) from the dividend, attach it to 23 and continue: 235 / 166

Advancing to step 4:
235 divided by 166 is 1 with a remainder of 69.
Use 1 as the next digit of our solution. 
Result so far: 31.0
Subtracting 166 from 235 leaves us with 69.
Fetch the next digit (8) from the dividend, attach it to 69 and continue: 698 / 166

Step 5:
If we divide 698 by 166, we get 4 and a remainder of 34.
The number 4 becomes the next digit in our result. 
Result so far: 314.0
Subtract 664 from 698 to get 34.
Include the next digit (5) from the dividend after 34, then repeat: 345 / 166

On to step 6:
345 divided by 166 is 2 with a remainder of 13.
Write down 2 as next digit of the result. 
Result so far: 3142.0
If we take 332 away from 345, we end up with 13.
Take the next digit (0) from the dividend and append it to 13, then repeat: 130 / 166

Step 7:
The number 166 fits into 130 0 times, leaving a remainder of 130.
The number 0 becomes the next digit in our result. 
Result so far: 31420.0
If we take 0 away from 130, we end up with 130.
Include the next digit (6) from the dividend after 130, then repeat: 1306 / 166

Step 8:
If we divide 1306 by 166, we get 7 and a remainder of 144.
Put 7 as the next digit of the answer. 
Result so far: 314207.0
Subtracting 1162 from 1306 leaves us with 144.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1440, and continue the process.

Step 9:
When dividing 1440 by 166, we get 8 with a remainder of 112.
Put 8 as the next digit of the answer. 
Result so far: 314207.8
If we take 1328 away from 1440, 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.

Advancing to step 10:
If we divide 1120 by 166, we get 6 and a remainder of 124.
Record the quotient 6 as the next digit in the result. 
Result so far: 314207.86
If we subtract 996 from 1120, we get 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Step 11:
166 can be fit into 1240 7 times, resulting in a remainder of 78.
Use 7 as the next digit of our solution. 
Result so far: 314207.867
The remainder is 78 after subtracting 1162 from 1240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Advancing to step 12:
The number 166 fits into 780 4 times, leaving a remainder of 116.
The next digit of our result is 4. 
Result so far: 314207.8674
Subtract 664 from 780 to 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.

Let's proceed to step 13:
The number 166 fits into 1160 6 times, leaving a remainder of 164.
Put 6 as the next digit of the answer. 
Result so far: 314207.86746
Subtracting 996 from 1160 leaves us with 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:
When dividing 1640 by 166, we get 9 with a remainder of 146.
Write down 9 as next digit of the result. 
Result so far: 314207.867469
If we take 1494 away from 1640, we end up 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.

Going ahead to step 15:
When dividing 1460 by 166, we get 8 with a remainder of 132.
Put 8 as the next digit of the answer. 
Result so far: 314207.8674698
Subtract 1328 from 1460 to get 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:
1320 divided by 166 is 7 with a remainder of 158.
Record the quotient 7 as the next digit in the result. 
Result so far: 314207.86746987
The remainder is 158 after subtracting 1162 from 1320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1580, and continue the process.

Our division results in 314207.86746987 with a remaining 1.58e-07.