We're dividing 50125717 by 366 
We want to divide 50125717 by 366.

Let's proceed to step 1:
The number 366 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 366

Step 2:
50 divided by 366 is 0 with a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 50 to get 50.
Take the next digit (1) from the dividend and append it to 50, then repeat: 501 / 366

Going ahead to step 3:
The number 366 fits into 501 1 times, leaving a remainder of 135.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 366 from 501 leaves us with 135.
Include the next digit (2) from the dividend after 135, then repeat: 1352 / 366

Moving on to step 4:
The number 366 fits into 1352 3 times, leaving a remainder of 254.
Use 3 as the next digit of our solution. 
Result so far: 13.0
Deduct 1098 from 1352 and we're left with 254.
Append the next digit (5) from the dividend to 254 and continue with: 2545 / 366

On to step 5:
366 goes into 2545 6 times with a remainder of 349.
Write down 6 as next digit of the result. 
Result so far: 136.0
Subtracting 2196 from 2545 leaves us with 349.
Fetch the next digit (7) from the dividend, attach it to 349 and continue: 3497 / 366

On to step 6:
When dividing 3497 by 366, we get 9 with a remainder of 203.
Record the quotient 9 as the next digit in the result. 
Result so far: 1369.0
Deduct 3294 from 3497 and we're left with 203.
Grab the next digit (1) from the dividend, add it to 203, then carry on: 2031 / 366

On to step 7:
366 can be fit into 2031 5 times, resulting in a remainder of 201.
The next digit of our result is 5. 
Result so far: 13695.0
If we subtract 1830 from 2031, we get 201.
Take the next digit (7) from the dividend and append it to 201, then repeat: 2017 / 366

Going ahead to step 8:
When dividing 2017 by 366, we get 5 with a remainder of 187.
Use 5 as the next digit of our solution. 
Result so far: 136955.0
The remainder is 187 after subtracting 1830 from 2017.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1870, and continue the process.

Advancing to step 9:
366 can be fit into 1870 5 times, resulting in a remainder of 40.
Record the quotient 5 as the next digit in the result. 
Result so far: 136955.5
Deduct 1830 from 1870 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 10:
The number 366 fits into 400 1 times, leaving a remainder of 34.
The next digit of our result is 1. 
Result so far: 136955.51
Deduct 366 from 400 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 11:
The number 366 fits into 340 0 times, leaving a remainder of 340.
The next digit of our result is 0. 
Result so far: 136955.51
The remainder is 340 after subtracting 0 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

Going ahead to step 12:
366 can be fit into 3400 9 times, resulting in a remainder of 106.
The number 9 becomes the next digit in our result. 
Result so far: 136955.5109
If we take 3294 away from 3400, we end up with 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

Step 13:
When dividing 1060 by 366, we get 2 with a remainder of 328.
The next digit of our result is 2. 
Result so far: 136955.51092
If we subtract 732 from 1060, we get 328.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3280, and continue the process.

Going ahead to step 14:
The number 366 fits into 3280 8 times, leaving a remainder of 352.
Use 8 as the next digit of our solution. 
Result so far: 136955.510928
The remainder is 352 after subtracting 2928 from 3280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3520, and continue the process.

Advancing to step 15:
The number 366 fits into 3520 9 times, leaving a remainder of 226.
Record the quotient 9 as the next digit in the result. 
Result so far: 136955.5109289
If we take 3294 away from 3520, we end up with 226.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2260, and continue the process.

Going ahead to step 16:
366 can be fit into 2260 6 times, resulting in a remainder of 64.
Record the quotient 6 as the next digit in the result. 
Result so far: 136955.51092896
Deduct 2196 from 2260 and we're left with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

The final result is 136955.51092896 with a remainder of 6.4e-08.