5099787 divided by 365 
Let's see how many times 365 fits into 5099787.

Advancing to step 1:
365 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 365

Advancing to step 2:
50 divided by 365 is 0 with a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 50 leaves us with 50.
Take the next digit (9) from the dividend and append it to 50, then repeat: 509 / 365

Going ahead to step 3:
When dividing 509 by 365, we get 1 with a remainder of 144.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 365 from 509 and we're left with 144.
Include the next digit (9) from the dividend after 144, then repeat: 1449 / 365

Going ahead to step 4:
365 goes into 1449 3 times with a remainder of 354.
Use 3 as the next digit of our solution. 
Result so far: 13.0
Subtracting 1095 from 1449 leaves us with 354.
Grab the next digit (7) from the dividend, add it to 354, then carry on: 3547 / 365

Let's proceed to step 5:
3547 divided by 365 is 9 with a remainder of 262.
Write down 9 as next digit of the result. 
Result so far: 139.0
The remainder is 262 after subtracting 3285 from 3547.
Fetch the next digit (8) from the dividend, attach it to 262 and continue: 2628 / 365

Let's proceed to step 6:
365 can be fit into 2628 7 times, resulting in a remainder of 73.
Record the quotient 7 as the next digit in the result. 
Result so far: 1397.0
The remainder is 73 after subtracting 2555 from 2628.
Append the next digit (7) from the dividend to 73 and continue with: 737 / 365

Going ahead to step 7:
365 goes into 737 2 times with a remainder of 7.
Use 2 as the next digit of our solution. 
Result so far: 13972.0
Deduct 730 from 737 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 8:
The number 365 fits into 70 0 times, leaving a remainder of 70.
Use 0 as the next digit of our solution. 
Result so far: 13972.0
Subtracting 0 from 70 leaves us with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Advancing to step 9:
When dividing 700 by 365, we get 1 with a remainder of 335.
The number 1 becomes the next digit in our result. 
Result so far: 13972.01
Subtract 365 from 700 to get 335.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3350, and continue the process.

Let's proceed to step 10:
365 goes into 3350 9 times with a remainder of 65.
Use 9 as the next digit of our solution. 
Result so far: 13972.019
Subtract 3285 from 3350 to get 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Going ahead to step 11:
650 divided by 365 is 1 with a remainder of 285.
Write down 1 as next digit of the result. 
Result so far: 13972.0191
Subtract 365 from 650 to get 285.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2850, and continue the process.

Going ahead to step 12:
The number 365 fits into 2850 7 times, leaving a remainder of 295.
Write down 7 as next digit of the result. 
Result so far: 13972.01917
If we subtract 2555 from 2850, we get 295.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2950, and continue the process.

Step 13:
When dividing 2950 by 365, we get 8 with a remainder of 30.
Put 8 as the next digit of the answer. 
Result so far: 13972.019178
Subtract 2920 from 2950 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 14:
365 can be fit into 300 0 times, resulting in a remainder of 300.
Record the quotient 0 as the next digit in the result. 
Result so far: 13972.019178
If we subtract 0 from 300, we get 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Going ahead to step 15:
When dividing 3000 by 365, we get 8 with a remainder of 80.
The number 8 becomes the next digit in our result. 
Result so far: 13972.01917808
If we take 2920 away from 3000, we end up with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

The final outcome is 13972.01917808, with a leftover of 8e-08.