We divide 171158 by 30
Let's see how many times 30 fits into 171158.

Advancing to step 1:
When dividing 1 by 30, we get 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 30

Let's proceed to step 2:
17 divided by 30 is 0 with a remainder of 17.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 17, we end up with 17.
Append the next digit (1) from the dividend to 17 and continue with: 171 / 30

Step 3:
When dividing 171 by 30, we get 5 with a remainder of 21.
The next digit of our result is 5. 
Result so far: 5.0
Subtract 150 from 171 to get 21.
Fetch the next digit (1) from the dividend, attach it to 21 and continue: 211 / 30

Moving on to step 4:
The number 30 fits into 211 7 times, leaving a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 57.0
The remainder is 1 after subtracting 210 from 211.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 30

On to step 5:
30 goes into 15 0 times with a remainder of 15.
Write down 0 as next digit of the result. 
Result so far: 570.0
Deduct 0 from 15 and we're left with 15.
Include the next digit (8) from the dividend after 15, then repeat: 158 / 30

Let's proceed to step 6:
The number 30 fits into 158 5 times, leaving a remainder of 8.
The next digit of our result is 5. 
Result so far: 5705.0
If we take 150 away from 158, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 7:
30 goes into 80 2 times with a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 5705.2
If we take 60 away from 80, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 8:
30 can be fit into 200 6 times, resulting in a remainder of 20.
Record the quotient 6 as the next digit in the result. 
Result so far: 5705.26
If we take 180 away from 200, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

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

The quotient of the division is 5705.266, and the remainder is 0.002.