We look at the division of 4016276 by 398 
Our goal is to divide 4016276 by 398.

Let's proceed to step 1:
When dividing 4 by 398, we get 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 398

On to step 2:
398 goes into 40 0 times with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Take the next digit (1) from the dividend and append it to 40, then repeat: 401 / 398

Going ahead to step 3:
The number 398 fits into 401 1 times, leaving a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 398 away from 401, we end up with 3.
Bring next digit (6) of the dividend behind the 3 and repeat the process: 36 / 398

Step 4:
If we divide 36 by 398, we get 0 and a remainder of 36.
Use 0 as the next digit of our solution. 
Result so far: 10.0
The remainder is 36 after subtracting 0 from 36.
Grab the next digit (2) from the dividend, add it to 36, then carry on: 362 / 398

Let's proceed to step 5:
When dividing 362 by 398, we get 0 with a remainder of 362.
Put 0 as the next digit of the answer. 
Result so far: 100.0
If we take 0 away from 362, we end up with 362.
Include the next digit (7) from the dividend after 362, then repeat: 3627 / 398

Advancing to step 6:
398 can be fit into 3627 9 times, resulting in a remainder of 45.
Write down 9 as next digit of the result. 
Result so far: 1009.0
If we take 3582 away from 3627, we end up with 45.
Include the next digit (6) from the dividend after 45, then repeat: 456 / 398

Moving on to step 7:
398 can be fit into 456 1 times, resulting in a remainder of 58.
Record the quotient 1 as the next digit in the result. 
Result so far: 10091.0
Subtracting 398 from 456 leaves us with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

On to step 8:
580 divided by 398 is 1 with a remainder of 182.
Put 1 as the next digit of the answer. 
Result so far: 10091.1
The remainder is 182 after subtracting 398 from 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1820, and continue the process.

Going ahead to step 9:
The number 398 fits into 1820 4 times, leaving a remainder of 228.
The number 4 becomes the next digit in our result. 
Result so far: 10091.14
Deduct 1592 from 1820 and we're left with 228.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2280, and continue the process.

On to step 10:
When dividing 2280 by 398, we get 5 with a remainder of 290.
Record the quotient 5 as the next digit in the result. 
Result so far: 10091.145
Deduct 1990 from 2280 and we're left with 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2900, and continue the process.

Advancing to step 11:
The number 398 fits into 2900 7 times, leaving a remainder of 114.
Record the quotient 7 as the next digit in the result. 
Result so far: 10091.1457
Subtract 2786 from 2900 to get 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Let's proceed to step 12:
When dividing 1140 by 398, we get 2 with a remainder of 344.
Write down 2 as next digit of the result. 
Result so far: 10091.14572
Subtract 796 from 1140 to get 344.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3440, and continue the process.

Advancing to step 13:
3440 divided by 398 is 8 with a remainder of 256.
The next digit of our result is 8. 
Result so far: 10091.145728
If we take 3184 away from 3440, we end up with 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

Moving on to step 14:
When dividing 2560 by 398, we get 6 with a remainder of 172.
Write down 6 as next digit of the result. 
Result so far: 10091.1457286
If we take 2388 away from 2560, we end up with 172.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1720, and continue the process.

Step 15:
398 goes into 1720 4 times with a remainder of 128.
Record the quotient 4 as the next digit in the result. 
Result so far: 10091.14572864
Subtract 1592 from 1720 to get 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

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