171248 divided by 30 
We want to divide 171248 by 30.

Advancing to step 1:
When dividing 1 by 30, we get 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 30

On to step 2:
The number 30 fits into 17 0 times, leaving a remainder of 17.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 17 after subtracting 0 from 17.
Take the next digit (1) from the dividend and append it to 17, then repeat: 171 / 30

On to step 3:
30 can be fit into 171 5 times, resulting in a remainder of 21.
The next digit of our result is 5. 
Result so far: 5.0
The remainder is 21 after subtracting 150 from 171.
Fetch the next digit (2) from the dividend, attach it to 21 and continue: 212 / 30

Going ahead to step 4:
If we divide 212 by 30, we get 7 and a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 57.0
Subtract 210 from 212 to get 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 30

On to step 5:
30 can be fit into 24 0 times, resulting in a remainder of 24.
Write down 0 as next digit of the result. 
Result so far: 570.0
If we take 0 away from 24, we end up with 24.
Bring next digit (8) of the dividend behind the 24 and repeat the process: 248 / 30

Advancing to step 6:
30 goes into 248 8 times with a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 5708.0
If we subtract 240 from 248, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 7:
If we divide 80 by 30, we get 2 and a remainder of 20.
Record the quotient 2 as the next digit in the result. 
Result so far: 5708.2
The remainder is 20 after subtracting 60 from 80.
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:
The number 30 fits into 200 6 times, leaving a remainder of 20.
Write down 6 as next digit of the result. 
Result so far: 5708.26
The remainder is 20 after subtracting 180 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 9:
If we divide 200 by 30, we get 6 and a remainder of 20.
Write down 6 as next digit of the result. 
Result so far: 5708.266
If we subtract 180 from 200, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Our division results in 5708.266 with a remaining 0.002.