We're dividing 54959242 by 397 
Our goal is to divide 54959242 by 397.

Going ahead to step 1:
5 divided by 397 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (4) from the dividend to 5 and continue with: 54 / 397

Step 2:
397 goes into 54 0 times with a remainder of 54.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 54, we end up with 54.
Append the next digit (9) from the dividend to 54 and continue with: 549 / 397

Moving on to step 3:
397 can be fit into 549 1 times, resulting in a remainder of 152.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 397 from 549, we get 152.
Include the next digit (5) from the dividend after 152, then repeat: 1525 / 397

Step 4:
If we divide 1525 by 397, we get 3 and a remainder of 334.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
The remainder is 334 after subtracting 1191 from 1525.
Append the next digit (9) from the dividend to 334 and continue with: 3349 / 397

Going ahead to step 5:
397 can be fit into 3349 8 times, resulting in a remainder of 173.
Put 8 as the next digit of the answer. 
Result so far: 138.0
If we take 3176 away from 3349, we end up with 173.
Grab the next digit (2) from the dividend, add it to 173, then carry on: 1732 / 397

Step 6:
1732 divided by 397 is 4 with a remainder of 144.
Use 4 as the next digit of our solution. 
Result so far: 1384.0
Subtract 1588 from 1732 to get 144.
Take the next digit (4) from the dividend and append it to 144, then repeat: 1444 / 397

On to step 7:
1444 divided by 397 is 3 with a remainder of 253.
Write down 3 as next digit of the result. 
Result so far: 13843.0
If we subtract 1191 from 1444, we get 253.
Grab the next digit (2) from the dividend, add it to 253, then carry on: 2532 / 397

Going ahead to step 8:
397 can be fit into 2532 6 times, resulting in a remainder of 150.
Record the quotient 6 as the next digit in the result. 
Result so far: 138436.0
Subtracting 2382 from 2532 leaves us with 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Going ahead to step 9:
397 can be fit into 1500 3 times, resulting in a remainder of 309.
Write down 3 as next digit of the result. 
Result so far: 138436.3
If we subtract 1191 from 1500, we get 309.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3090, and continue the process.

On to step 10:
397 goes into 3090 7 times with a remainder of 311.
Use 7 as the next digit of our solution. 
Result so far: 138436.37
If we take 2779 away from 3090, we end up with 311.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3110, and continue the process.

Going ahead to step 11:
The number 397 fits into 3110 7 times, leaving a remainder of 331.
Write down 7 as next digit of the result. 
Result so far: 138436.377
Subtracting 2779 from 3110 leaves us with 331.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3310, and continue the process.

The quotient of the division is 138436.377, and the remainder is 0.0331.