Let's divide 51124926 by 398
We want to divide 51124926 by 398.

Going ahead to step 1:
5 divided by 398 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 398

Advancing to step 2:
398 goes into 51 0 times with a remainder of 51.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 51 and we're left with 51.
Fetch the next digit (1) from the dividend, attach it to 51 and continue: 511 / 398

Advancing to step 3:
The number 398 fits into 511 1 times, leaving a remainder of 113.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 398 from 511 and we're left with 113.
Include the next digit (2) from the dividend after 113, then repeat: 1132 / 398

On to step 4:
398 goes into 1132 2 times with a remainder of 336.
Put 2 as the next digit of the answer. 
Result so far: 12.0
Deduct 796 from 1132 and we're left with 336.
Take the next digit (4) from the dividend and append it to 336, then repeat: 3364 / 398

Going ahead to step 5:
If we divide 3364 by 398, we get 8 and a remainder of 180.
Use 8 as the next digit of our solution. 
Result so far: 128.0
If we take 3184 away from 3364, we end up with 180.
Take the next digit (9) from the dividend and append it to 180, then repeat: 1809 / 398

On to step 6:
The number 398 fits into 1809 4 times, leaving a remainder of 217.
The number 4 becomes the next digit in our result. 
Result so far: 1284.0
If we take 1592 away from 1809, we end up with 217.
Fetch the next digit (2) from the dividend, attach it to 217 and continue: 2172 / 398

Going ahead to step 7:
398 can be fit into 2172 5 times, resulting in a remainder of 182.
The next digit of our result is 5. 
Result so far: 12845.0
Subtract 1990 from 2172 to get 182.
Include the next digit (6) from the dividend after 182, then repeat: 1826 / 398

On to step 8:
When dividing 1826 by 398, we get 4 with a remainder of 234.
The next digit of our result is 4. 
Result so far: 128454.0
Subtract 1592 from 1826 to get 234.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2340, and continue the process.

Moving on to step 9:
When dividing 2340 by 398, we get 5 with a remainder of 350.
Record the quotient 5 as the next digit in the result. 
Result so far: 128454.5
If we subtract 1990 from 2340, we get 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3500, and continue the process.

Moving on to step 10:
398 goes into 3500 8 times with a remainder of 316.
Use 8 as the next digit of our solution. 
Result so far: 128454.58
Deduct 3184 from 3500 and we're left with 316.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3160, and continue the process.

Moving on to step 11:
If we divide 3160 by 398, we get 7 and a remainder of 374.
Record the quotient 7 as the next digit in the result. 
Result so far: 128454.587
Subtracting 2786 from 3160 leaves us with 374.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

Step 12:
398 goes into 3740 9 times with a remainder of 158.
Record the quotient 9 as the next digit in the result. 
Result so far: 128454.5879
If we take 3582 away from 3740, we end up with 158.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1580, and continue the process.

Let's proceed to step 13:
When dividing 1580 by 398, we get 3 with a remainder of 386.
The next digit of our result is 3. 
Result so far: 128454.58793
Deduct 1194 from 1580 and we're left with 386.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3860, and continue the process.

Let's proceed to step 14:
3860 divided by 398 is 9 with a remainder of 278.
Write down 9 as next digit of the result. 
Result so far: 128454.587939
The remainder is 278 after subtracting 3582 from 3860.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2780, and continue the process.

Moving on to step 15:
If we divide 2780 by 398, we get 6 and a remainder of 392.
Write down 6 as next digit of the result. 
Result so far: 128454.5879396
If we subtract 2388 from 2780, we get 392.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3920, and continue the process.

On to step 16:
398 can be fit into 3920 9 times, resulting in a remainder of 338.
The next digit of our result is 9. 
Result so far: 128454.58793969
Subtracting 3582 from 3920 leaves us with 338.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3380, and continue the process.

The final result is 128454.58793969 with a remainder of 3.38e-07.