We're dividing 591242 by 5 
Let's see how many times 5 fits into 591242.

Advancing to step 1:
5 divided by 5 is 1 with a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 5 from 5 leaves us with 0.
Take the next digit (9) from the dividend and append it to 0, then repeat: 9 / 5

Let's proceed to step 2:
When dividing 9 by 5, we get 1 with a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
Subtracting 5 from 9 leaves us with 4.
Fetch the next digit (1) from the dividend, attach it to 4 and continue: 41 / 5

Moving on to step 3:
5 can be fit into 41 8 times, resulting in a remainder of 1.
Use 8 as the next digit of our solution. 
Result so far: 118.0
Subtracting 40 from 41 leaves us with 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 5

Advancing to step 4:
The number 5 fits into 12 2 times, leaving a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 1182.0
If we take 10 away from 12, we end up with 2.
Take the next digit (4) from the dividend and append it to 2, then repeat: 24 / 5

Going ahead to step 5:
24 divided by 5 is 4 with a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 11824.0
If we subtract 20 from 24, we get 4.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 5

Advancing to step 6:
42 divided by 5 is 8 with a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 118248.0
If we subtract 40 from 42, we 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.

On to step 7:
When dividing 20 by 5, we get 4 with a remainder of 0.
The next digit of our result is 4. 
Result so far: 118248.4
If we subtract 20 from 20, 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.

Let's proceed to step 8:
The number 5 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 118248.4
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.

Step 9:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 118248.4
Deduct 0 from 0 and we're left 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 118248.4, and the remainder is 0.0.