We divide 5148288 by 166
Let's see how many times 166 fits into 5148288.

On to step 1:
166 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 166

Let's proceed to step 2:
166 can be fit into 51 0 times, resulting in a remainder of 51.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Take the next digit (4) from the dividend and append it to 51, then repeat: 514 / 166

Going ahead to step 3:
166 can be fit into 514 3 times, resulting in a remainder of 16.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we take 498 away from 514, we end up with 16.
Bring next digit (8) of the dividend behind the 16 and repeat the process: 168 / 166

Let's proceed to step 4:
When dividing 168 by 166, we get 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 31.0
If we take 166 away from 168, we end up with 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 166

Step 5:
When dividing 22 by 166, we get 0 with a remainder of 22.
Write down 0 as next digit of the result. 
Result so far: 310.0
Deduct 0 from 22 and we're left with 22.
Take the next digit (8) from the dividend and append it to 22, then repeat: 228 / 166

Step 6:
166 can be fit into 228 1 times, resulting in a remainder of 62.
The next digit of our result is 1. 
Result so far: 3101.0
Subtracting 166 from 228 leaves us with 62.
Include the next digit (8) from the dividend after 62, then repeat: 628 / 166

Let's proceed to step 7:
When dividing 628 by 166, we get 3 with a remainder of 130.
Record the quotient 3 as the next digit in the result. 
Result so far: 31013.0
Deduct 498 from 628 and we're left with 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1300, and continue the process.

Advancing to step 8:
The number 166 fits into 1300 7 times, leaving a remainder of 138.
Use 7 as the next digit of our solution. 
Result so far: 31013.7
If we subtract 1162 from 1300, we get 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

Let's proceed to step 9:
If we divide 1380 by 166, we get 8 and a remainder of 52.
The number 8 becomes the next digit in our result. 
Result so far: 31013.78
The remainder is 52 after subtracting 1328 from 1380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Step 10:
The number 166 fits into 520 3 times, leaving a remainder of 22.
Put 3 as the next digit of the answer. 
Result so far: 31013.783
Subtracting 498 from 520 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 11:
220 divided by 166 is 1 with a remainder of 54.
Put 1 as the next digit of the answer. 
Result so far: 31013.7831
Subtract 166 from 220 to get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Step 12:
166 can be fit into 540 3 times, resulting in a remainder of 42.
The next digit of our result is 3. 
Result so far: 31013.78313
The remainder is 42 after subtracting 498 from 540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

On to step 13:
When dividing 420 by 166, we get 2 with a remainder of 88.
Write down 2 as next digit of the result. 
Result so far: 31013.783132
Subtract 332 from 420 to get 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Moving on to step 14:
The number 166 fits into 880 5 times, leaving a remainder of 50.
The next digit of our result is 5. 
Result so far: 31013.7831325
Subtract 830 from 880 to get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

On to step 15:
The number 166 fits into 500 3 times, leaving a remainder of 2.
The next digit of our result is 3. 
Result so far: 31013.78313253
If we take 498 away from 500, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final result is 31013.78313253 with a remainder of 2e-09.