We're dividing 5802636 by 391 
We want to divide 5802636 by 391.

Let's proceed to step 1:
The number 391 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
Subtracting 0 from 5 leaves us with 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 391

Step 2:
58 divided by 391 is 0 with a remainder of 58.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 58 to get 58.
Bring next digit (0) of the dividend behind the 58 and repeat the process: 580 / 391

Going ahead to step 3:
The number 391 fits into 580 1 times, leaving a remainder of 189.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 391 from 580, we get 189.
Include the next digit (2) from the dividend after 189, then repeat: 1892 / 391

On to step 4:
The number 391 fits into 1892 4 times, leaving a remainder of 328.
The next digit of our result is 4. 
Result so far: 14.0
If we subtract 1564 from 1892, we get 328.
Take the next digit (6) from the dividend and append it to 328, then repeat: 3286 / 391

Let's proceed to step 5:
If we divide 3286 by 391, we get 8 and a remainder of 158.
Use 8 as the next digit of our solution. 
Result so far: 148.0
If we subtract 3128 from 3286, we get 158.
Fetch the next digit (3) from the dividend, attach it to 158 and continue: 1583 / 391

On to step 6:
If we divide 1583 by 391, we get 4 and a remainder of 19.
Write down 4 as next digit of the result. 
Result so far: 1484.0
Subtract 1564 from 1583 to get 19.
Include the next digit (6) from the dividend after 19, then repeat: 196 / 391

Moving on to step 7:
The number 391 fits into 196 0 times, leaving a remainder of 196.
Put 0 as the next digit of the answer. 
Result so far: 14840.0
The remainder is 196 after subtracting 0 from 196.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1960, and continue the process.

On to step 8:
The number 391 fits into 1960 5 times, leaving a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 14840.5
If we take 1955 away from 1960, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 9:
If we divide 50 by 391, we get 0 and a remainder of 50.
The number 0 becomes the next digit in our result. 
Result so far: 14840.5
The remainder is 50 after subtracting 0 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 10:
500 divided by 391 is 1 with a remainder of 109.
Record the quotient 1 as the next digit in the result. 
Result so far: 14840.501
If we take 391 away from 500, we end up with 109.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1090, and continue the process.

Going ahead to step 11:
1090 divided by 391 is 2 with a remainder of 308.
The next digit of our result is 2. 
Result so far: 14840.5012
If we take 782 away from 1090, we end up with 308.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3080, and continue the process.

On to step 12:
3080 divided by 391 is 7 with a remainder of 343.
Record the quotient 7 as the next digit in the result. 
Result so far: 14840.50127
If we take 2737 away from 3080, we end up with 343.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3430, and continue the process.

Going ahead to step 13:
391 goes into 3430 8 times with a remainder of 302.
Write down 8 as next digit of the result. 
Result so far: 14840.501278
If we take 3128 away from 3430, we end up with 302.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3020, and continue the process.

On to step 14:
When dividing 3020 by 391, we get 7 with a remainder of 283.
Record the quotient 7 as the next digit in the result. 
Result so far: 14840.5012787
The remainder is 283 after subtracting 2737 from 3020.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2830, and continue the process.

Moving on to step 15:
The number 391 fits into 2830 7 times, leaving a remainder of 93.
Write down 7 as next digit of the result. 
Result so far: 14840.50127877
If we subtract 2737 from 2830, we get 93.
Since there are no more digits in the dividend, we add a zero to the remainder making it 930, and continue the process.

The quotient of the division is 14840.50127877, and the remainder is 9.3e-08.