5881774 divided by 349 
Our goal is to divide 5881774 by 349.

Step 1:
If we divide 5 by 349, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 349

Going ahead to step 2:
When dividing 58 by 349, we get 0 with a remainder of 58.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 58, we end up with 58.
Append the next digit (8) from the dividend to 58 and continue with: 588 / 349

Let's proceed to step 3:
When dividing 588 by 349, we get 1 with a remainder of 239.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 239 after subtracting 349 from 588.
Take the next digit (1) from the dividend and append it to 239, then repeat: 2391 / 349

Step 4:
The number 349 fits into 2391 6 times, leaving a remainder of 297.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
Deduct 2094 from 2391 and we're left with 297.
Append the next digit (7) from the dividend to 297 and continue with: 2977 / 349

Advancing to step 5:
The number 349 fits into 2977 8 times, leaving a remainder of 185.
Write down 8 as next digit of the result. 
Result so far: 168.0
The remainder is 185 after subtracting 2792 from 2977.
Grab the next digit (7) from the dividend, add it to 185, then carry on: 1857 / 349

Advancing to step 6:
The number 349 fits into 1857 5 times, leaving a remainder of 112.
The number 5 becomes the next digit in our result. 
Result so far: 1685.0
If we take 1745 away from 1857, we end up with 112.
Bring next digit (4) of the dividend behind the 112 and repeat the process: 1124 / 349

Advancing to step 7:
When dividing 1124 by 349, we get 3 with a remainder of 77.
The number 3 becomes the next digit in our result. 
Result so far: 16853.0
Subtracting 1047 from 1124 leaves us with 77.
Since there are no more digits in the dividend, we add a zero to the remainder making it 770, and continue the process.

Step 8:
349 goes into 770 2 times with a remainder of 72.
Record the quotient 2 as the next digit in the result. 
Result so far: 16853.2
Subtracting 698 from 770 leaves us with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Moving on to step 9:
349 can be fit into 720 2 times, resulting in a remainder of 22.
Record the quotient 2 as the next digit in the result. 
Result so far: 16853.22
If we take 698 away from 720, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

The final result is 16853.22 with a remainder of 0.022.