We look at the division of 30638017 by 397 
Let's see how many times 397 fits into 30638017.

On to step 1:
If we divide 3 by 397, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (0) from the dividend after 3, then repeat: 30 / 397

Moving on to step 2:
When dividing 30 by 397, we get 0 with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 30 to get 30.
Include the next digit (6) from the dividend after 30, then repeat: 306 / 397

On to step 3:
The number 397 fits into 306 0 times, leaving a remainder of 306.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 306, we end up with 306.
Take the next digit (3) from the dividend and append it to 306, then repeat: 3063 / 397

Advancing to step 4:
When dividing 3063 by 397, we get 7 with a remainder of 284.
Put 7 as the next digit of the answer. 
Result so far: 7.0
The remainder is 284 after subtracting 2779 from 3063.
Fetch the next digit (8) from the dividend, attach it to 284 and continue: 2848 / 397

Going ahead to step 5:
The number 397 fits into 2848 7 times, leaving a remainder of 69.
Put 7 as the next digit of the answer. 
Result so far: 77.0
If we take 2779 away from 2848, we end up with 69.
Include the next digit (0) from the dividend after 69, then repeat: 690 / 397

Going ahead to step 6:
The number 397 fits into 690 1 times, leaving a remainder of 293.
Use 1 as the next digit of our solution. 
Result so far: 771.0
If we subtract 397 from 690, we get 293.
Append the next digit (1) from the dividend to 293 and continue with: 2931 / 397

On to step 7:
397 can be fit into 2931 7 times, resulting in a remainder of 152.
The number 7 becomes the next digit in our result. 
Result so far: 7717.0
If we take 2779 away from 2931, we end up with 152.
Include the next digit (7) from the dividend after 152, then repeat: 1527 / 397

Going ahead to step 8:
If we divide 1527 by 397, we get 3 and a remainder of 336.
The next digit of our result is 3. 
Result so far: 77173.0
Deduct 1191 from 1527 and we're left with 336.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3360, and continue the process.

Moving on to step 9:
3360 divided by 397 is 8 with a remainder of 184.
Write down 8 as next digit of the result. 
Result so far: 77173.8
The remainder is 184 after subtracting 3176 from 3360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Let's proceed to step 10:
397 goes into 1840 4 times with a remainder of 252.
Put 4 as the next digit of the answer. 
Result so far: 77173.84
Subtracting 1588 from 1840 leaves us with 252.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2520, and continue the process.

Step 11:
397 goes into 2520 6 times with a remainder of 138.
Put 6 as the next digit of the answer. 
Result so far: 77173.846
Deduct 2382 from 2520 and we're left with 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

Going ahead to step 12:
397 goes into 1380 3 times with a remainder of 189.
Put 3 as the next digit of the answer. 
Result so far: 77173.8463
The remainder is 189 after subtracting 1191 from 1380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1890, and continue the process.

Advancing to step 13:
If we divide 1890 by 397, we get 4 and a remainder of 302.
Record the quotient 4 as the next digit in the result. 
Result so far: 77173.84634
The remainder is 302 after subtracting 1588 from 1890.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3020, and continue the process.

Going ahead to step 14:
397 goes into 3020 7 times with a remainder of 241.
Use 7 as the next digit of our solution. 
Result so far: 77173.846347
Subtract 2779 from 3020 to get 241.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2410, and continue the process.

Going ahead to step 15:
When dividing 2410 by 397, we get 6 with a remainder of 28.
Record the quotient 6 as the next digit in the result. 
Result so far: 77173.8463476
If we subtract 2382 from 2410, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 16:
The number 397 fits into 280 0 times, leaving a remainder of 280.
The number 0 becomes the next digit in our result. 
Result so far: 77173.8463476
Subtract 0 from 280 to get 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

After the division, we end up with 77173.8463476 and a remainder of 2.8e-07.