We divide 5938815 by 331
Let's see how many times 331 fits into 5938815.

Advancing to step 1:
When dividing 5 by 331, we get 0 with 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.
Take the next digit (9) from the dividend and append it to 5, then repeat: 59 / 331

Step 2:
331 can be fit into 59 0 times, resulting in a remainder of 59.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 59 to get 59.
Fetch the next digit (3) from the dividend, attach it to 59 and continue: 593 / 331

Going ahead to step 3:
331 goes into 593 1 times with a remainder of 262.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 331 from 593 to get 262.
Append the next digit (8) from the dividend to 262 and continue with: 2628 / 331

Moving on to step 4:
If we divide 2628 by 331, we get 7 and a remainder of 311.
Put 7 as the next digit of the answer. 
Result so far: 17.0
Subtracting 2317 from 2628 leaves us with 311.
Bring next digit (8) of the dividend behind the 311 and repeat the process: 3118 / 331

Advancing to step 5:
331 can be fit into 3118 9 times, resulting in a remainder of 139.
Write down 9 as next digit of the result. 
Result so far: 179.0
Subtract 2979 from 3118 to get 139.
Bring next digit (1) of the dividend behind the 139 and repeat the process: 1391 / 331

On to step 6:
1391 divided by 331 is 4 with a remainder of 67.
The next digit of our result is 4. 
Result so far: 1794.0
Subtract 1324 from 1391 to get 67.
Append the next digit (5) from the dividend to 67 and continue with: 675 / 331

Let's proceed to step 7:
If we divide 675 by 331, we get 2 and a remainder of 13.
Put 2 as the next digit of the answer. 
Result so far: 17942.0
The remainder is 13 after subtracting 662 from 675.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 8:
When dividing 130 by 331, we get 0 with a remainder of 130.
Use 0 as the next digit of our solution. 
Result so far: 17942.0
Subtracting 0 from 130 leaves us with 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1300, and continue the process.

Let's proceed to step 9:
331 goes into 1300 3 times with a remainder of 307.
The next digit of our result is 3. 
Result so far: 17942.03
Subtracting 993 from 1300 leaves us with 307.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3070, and continue the process.

Step 10:
331 can be fit into 3070 9 times, resulting in a remainder of 91.
The number 9 becomes the next digit in our result. 
Result so far: 17942.039
The remainder is 91 after subtracting 2979 from 3070.
Since there are no more digits in the dividend, we add a zero to the remainder making it 910, and continue the process.

Step 11:
If we divide 910 by 331, we get 2 and a remainder of 248.
The number 2 becomes the next digit in our result. 
Result so far: 17942.0392
If we subtract 662 from 910, we get 248.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2480, and continue the process.

Going ahead to step 12:
331 can be fit into 2480 7 times, resulting in a remainder of 163.
Use 7 as the next digit of our solution. 
Result so far: 17942.03927
Deduct 2317 from 2480 and we're left with 163.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1630, and continue the process.

Going ahead to step 13:
When dividing 1630 by 331, we get 4 with a remainder of 306.
Use 4 as the next digit of our solution. 
Result so far: 17942.039274
The remainder is 306 after subtracting 1324 from 1630.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3060, and continue the process.

Step 14:
3060 divided by 331 is 9 with a remainder of 81.
Write down 9 as next digit of the result. 
Result so far: 17942.0392749
Deduct 2979 from 3060 and we're left with 81.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

Going ahead to step 15:
The number 331 fits into 810 2 times, leaving a remainder of 148.
Put 2 as the next digit of the answer. 
Result so far: 17942.03927492
The remainder is 148 after subtracting 662 from 810.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

The quotient of the division is 17942.03927492, and the remainder is 1.48e-07.