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

Advancing to step 1:
5 divided by 166 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 166

Moving on to step 2:
166 can be fit into 51 0 times, resulting in a remainder of 51.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 51 after subtracting 0 from 51.
Append the next digit (4) from the dividend to 51 and continue with: 514 / 166

Going ahead to step 3:
514 divided by 166 is 3 with a remainder of 16.
Write down 3 as next digit of the result. 
Result so far: 3.0
The remainder is 16 after subtracting 498 from 514.
Fetch the next digit (1) from the dividend, attach it to 16 and continue: 161 / 166

Going ahead to step 4:
When dividing 161 by 166, we get 0 with a remainder of 161.
Put 0 as the next digit of the answer. 
Result so far: 30.0
Subtract 0 from 161 to get 161.
Bring next digit (0) of the dividend behind the 161 and repeat the process: 1610 / 166

Going ahead to step 5:
The number 166 fits into 1610 9 times, leaving a remainder of 116.
Write down 9 as next digit of the result. 
Result so far: 309.0
Subtracting 1494 from 1610 leaves us with 116.
Append the next digit (6) from the dividend to 116 and continue with: 1166 / 166

Step 6:
1166 divided by 166 is 7 with a remainder of 4.
The number 7 becomes the next digit in our result. 
Result so far: 3097.0
Subtracting 1162 from 1166 leaves us with 4.
Include the next digit (5) from the dividend after 4, then repeat: 45 / 166

Advancing to step 7:
45 divided by 166 is 0 with a remainder of 45.
Write down 0 as next digit of the result. 
Result so far: 30970.0
The remainder is 45 after subtracting 0 from 45.
Fetch the next digit (1) from the dividend, attach it to 45 and continue: 451 / 166

Step 8:
166 can be fit into 451 2 times, resulting in a remainder of 119.
Record the quotient 2 as the next digit in the result. 
Result so far: 309702.0
The remainder is 119 after subtracting 332 from 451.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1190, and continue the process.

On to step 9:
When dividing 1190 by 166, we get 7 with a remainder of 28.
Write down 7 as next digit of the result. 
Result so far: 309702.7
If we subtract 1162 from 1190, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 10:
If we divide 280 by 166, we get 1 and a remainder of 114.
The number 1 becomes the next digit in our result. 
Result so far: 309702.71
Deduct 166 from 280 and we're left with 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Step 11:
166 goes into 1140 6 times with a remainder of 144.
Use 6 as the next digit of our solution. 
Result so far: 309702.716
Subtract 996 from 1140 to get 144.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1440, and continue the process.

On to step 12:
166 goes into 1440 8 times with a remainder of 112.
Write down 8 as next digit of the result. 
Result so far: 309702.7168
Subtracting 1328 from 1440 leaves us 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.

On to step 13:
166 goes into 1120 6 times with a remainder of 124.
Put 6 as the next digit of the answer. 
Result so far: 309702.71686
Subtract 996 from 1120 to 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.

Going ahead to step 14:
If we divide 1240 by 166, we get 7 and a remainder of 78.
Use 7 as the next digit of our solution. 
Result so far: 309702.716867
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.

Going ahead to step 15:
If we divide 780 by 166, we get 4 and a remainder of 116.
Record the quotient 4 as the next digit in the result. 
Result so far: 309702.7168674
Subtracting 664 from 780 leaves us with 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 16:
166 goes into 1160 6 times with a remainder of 164.
The number 6 becomes the next digit in our result. 
Result so far: 309702.71686746
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.

The final outcome is 309702.71686746, with a leftover of 1.64e-07.