We're dividing 166261 by 30 
We want to figure out the number of times 166261 can be divided by 30.

Moving on to step 1:
If we divide 1 by 30, we get 0 and a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 30

Going ahead to step 2:
16 divided by 30 is 0 with a remainder of 16.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 16 to get 16.
Take the next digit (6) from the dividend and append it to 16, then repeat: 166 / 30

Going ahead to step 3:
When dividing 166 by 30, we get 5 with a remainder of 16.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Deduct 150 from 166 and we're left with 16.
Include the next digit (2) from the dividend after 16, then repeat: 162 / 30

Advancing to step 4:
30 can be fit into 162 5 times, resulting in a remainder of 12.
Put 5 as the next digit of the answer. 
Result so far: 55.0
If we take 150 away from 162, we end up with 12.
Fetch the next digit (6) from the dividend, attach it to 12 and continue: 126 / 30

Advancing to step 5:
When dividing 126 by 30, we get 4 with a remainder of 6.
Use 4 as the next digit of our solution. 
Result so far: 554.0
Deduct 120 from 126 and we're left with 6.
Include the next digit (1) from the dividend after 6, then repeat: 61 / 30

Moving on to step 6:
61 divided by 30 is 2 with a remainder of 1.
Write down 2 as next digit of the result. 
Result so far: 5542.0
If we subtract 60 from 61, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
If we divide 10 by 30, we get 0 and a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 5542.0
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
100 divided by 30 is 3 with a remainder of 10.
The number 3 becomes the next digit in our result. 
Result so far: 5542.03
If we take 90 away from 100, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 9:
The number 30 fits into 100 3 times, leaving a remainder of 10.
Put 3 as the next digit of the answer. 
Result so far: 5542.033
Subtracting 90 from 100 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The final result is 5542.033 with a remainder of 0.001.