397181 divided by 30 
We're looking to find how many times 30 goes into 397181.

Advancing to step 1:
The number 30 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 30

Step 2:
30 goes into 39 1 times with a remainder of 9.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 30 from 39 and we're left with 9.
Take the next digit (7) from the dividend and append it to 9, then repeat: 97 / 30

Advancing to step 3:
30 goes into 97 3 times with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 13.0
The remainder is 7 after subtracting 90 from 97.
Take the next digit (1) from the dividend and append it to 7, then repeat: 71 / 30

Advancing to step 4:
When dividing 71 by 30, we get 2 with a remainder of 11.
Record the quotient 2 as the next digit in the result. 
Result so far: 132.0
Deduct 60 from 71 and we're left with 11.
Append the next digit (8) from the dividend to 11 and continue with: 118 / 30

On to step 5:
30 can be fit into 118 3 times, resulting in a remainder of 28.
Use 3 as the next digit of our solution. 
Result so far: 1323.0
If we take 90 away from 118, we end up with 28.
Append the next digit (1) from the dividend to 28 and continue with: 281 / 30

Going ahead to step 6:
When dividing 281 by 30, we get 9 with a remainder of 11.
Record the quotient 9 as the next digit in the result. 
Result so far: 13239.0
If we subtract 270 from 281, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 7:
30 goes into 110 3 times with a remainder of 20.
Put 3 as the next digit of the answer. 
Result so far: 13239.3
Deduct 90 from 110 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.

Let's proceed to step 8:
200 divided by 30 is 6 with a remainder of 20.
Use 6 as the next digit of our solution. 
Result so far: 13239.36
Subtract 180 from 200 to 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.

Going ahead to step 9:
If we divide 200 by 30, we get 6 and a remainder of 20.
Record the quotient 6 as the next digit in the result. 
Result so far: 13239.366
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.

After the division, we end up with 13239.366 and a remainder of 0.002.