Let's divide 5840043 by 362
We're looking to find how many times 362 goes into 5840043.

Step 1:
The number 362 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 362

On to step 2:
362 can be fit into 58 0 times, resulting in a remainder of 58.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 58 leaves us with 58.
Fetch the next digit (4) from the dividend, attach it to 58 and continue: 584 / 362

Advancing to step 3:
When dividing 584 by 362, we get 1 with a remainder of 222.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 362 away from 584, we end up with 222.
Fetch the next digit (0) from the dividend, attach it to 222 and continue: 2220 / 362

Let's proceed to step 4:
When dividing 2220 by 362, we get 6 with a remainder of 48.
The number 6 becomes the next digit in our result. 
Result so far: 16.0
If we subtract 2172 from 2220, we get 48.
Include the next digit (0) from the dividend after 48, then repeat: 480 / 362

On to step 5:
362 can be fit into 480 1 times, resulting in a remainder of 118.
Write down 1 as next digit of the result. 
Result so far: 161.0
Subtract 362 from 480 to get 118.
Grab the next digit (4) from the dividend, add it to 118, then carry on: 1184 / 362

Going ahead to step 6:
362 can be fit into 1184 3 times, resulting in a remainder of 98.
Put 3 as the next digit of the answer. 
Result so far: 1613.0
Subtracting 1086 from 1184 leaves us with 98.
Append the next digit (3) from the dividend to 98 and continue with: 983 / 362

On to step 7:
362 goes into 983 2 times with a remainder of 259.
Put 2 as the next digit of the answer. 
Result so far: 16132.0
Deduct 724 from 983 and we're left with 259.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2590, and continue the process.

Going ahead to step 8:
362 goes into 2590 7 times with a remainder of 56.
The number 7 becomes the next digit in our result. 
Result so far: 16132.7
The remainder is 56 after subtracting 2534 from 2590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Let's proceed to step 9:
560 divided by 362 is 1 with a remainder of 198.
The number 1 becomes the next digit in our result. 
Result so far: 16132.71
If we subtract 362 from 560, we get 198.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1980, and continue the process.

Advancing to step 10:
362 can be fit into 1980 5 times, resulting in a remainder of 170.
The next digit of our result is 5. 
Result so far: 16132.715
Subtracting 1810 from 1980 leaves us with 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Advancing to step 11:
When dividing 1700 by 362, we get 4 with a remainder of 252.
The number 4 becomes the next digit in our result. 
Result so far: 16132.7154
Subtracting 1448 from 1700 leaves us with 252.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2520, and continue the process.

Advancing to step 12:
If we divide 2520 by 362, we get 6 and a remainder of 348.
Use 6 as the next digit of our solution. 
Result so far: 16132.71546
Subtracting 2172 from 2520 leaves us with 348.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3480, and continue the process.

Advancing to step 13:
The number 362 fits into 3480 9 times, leaving a remainder of 222.
The number 9 becomes the next digit in our result. 
Result so far: 16132.715469
Deduct 3258 from 3480 and we're left with 222.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

Advancing to step 14:
2220 divided by 362 is 6 with a remainder of 48.
Write down 6 as next digit of the result. 
Result so far: 16132.7154696
If we take 2172 away from 2220, we end up with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

On to step 15:
When dividing 480 by 362, we get 1 with a remainder of 118.
Record the quotient 1 as the next digit in the result. 
Result so far: 16132.71546961
Subtracting 362 from 480 leaves us with 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

After the division, we end up with 16132.71546961 and a remainder of 1.18e-07.