5938979 ÷ 4 
Let's see how many times 4 fits into 5938979.

Advancing to step 1:
4 can be fit into 5 1 times, resulting in a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 4 from 5, we get 1.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 4

Step 2:
When dividing 19 by 4, we get 4 with a remainder of 3.
Use 4 as the next digit of our solution. 
Result so far: 14.0
Deduct 16 from 19 and we're left with 3.
Include the next digit (3) from the dividend after 3, then repeat: 33 / 4

Advancing to step 3:
33 divided by 4 is 8 with a remainder of 1.
The next digit of our result is 8. 
Result so far: 148.0
If we subtract 32 from 33, we get 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 4

Step 4:
When dividing 18 by 4, we get 4 with a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 1484.0
Subtract 16 from 18 to get 2.
Append the next digit (9) from the dividend to 2 and continue with: 29 / 4

On to step 5:
When dividing 29 by 4, we get 7 with a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 14847.0
The remainder is 1 after subtracting 28 from 29.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 4

Step 6:
If we divide 17 by 4, we get 4 and a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 148474.0
Subtracting 16 from 17 leaves us with 1.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 4

Moving on to step 7:
4 can be fit into 19 4 times, resulting in a remainder of 3.
Record the quotient 4 as the next digit in the result. 
Result so far: 1484744.0
The remainder is 3 after subtracting 16 from 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 8:
If we divide 30 by 4, we get 7 and a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 1484744.7
Subtract 28 from 30 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 9:
4 goes into 20 5 times with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 1484744.75
The remainder is 0 after subtracting 20 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 10:
0 divided by 4 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 1484744.75
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 11:
If we divide 0 by 4, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 1484744.75
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 1484744.75, and the remainder is 0.0.