166023 ÷ 30 
Our goal is to divide 166023 by 30.

Going ahead to step 1:
The number 30 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 30

On to step 2:
When dividing 16 by 30, we get 0 with a remainder of 16.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 16, we end up with 16.
Take the next digit (6) from the dividend and append it to 16, then repeat: 166 / 30

Moving on to step 3:
30 goes into 166 5 times with a remainder of 16.
The next digit of our result is 5. 
Result so far: 5.0
If we take 150 away from 166, we end up with 16.
Include the next digit (0) from the dividend after 16, then repeat: 160 / 30

Step 4:
30 can be fit into 160 5 times, resulting in a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 55.0
Deduct 150 from 160 and we're left with 10.
Fetch the next digit (2) from the dividend, attach it to 10 and continue: 102 / 30

Let's proceed to step 5:
30 can be fit into 102 3 times, resulting in a remainder of 12.
Use 3 as the next digit of our solution. 
Result so far: 553.0
If we subtract 90 from 102, we get 12.
Grab the next digit (3) from the dividend, add it to 12, then carry on: 123 / 30

Let's proceed to step 6:
123 divided by 30 is 4 with a remainder of 3.
The next digit of our result is 4. 
Result so far: 5534.0
If we subtract 120 from 123, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
When dividing 30 by 30, we get 1 with a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 5534.1
If we subtract 30 from 30, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 8:
0 divided by 30 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 5534.1
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 9:
When dividing 0 by 30, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 5534.1
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 5534.1 and a remainder of 0.0.