We're dividing 580845 by 77 
We want to divide 580845 by 77.

Step 1:
When dividing 5 by 77, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 77

Going ahead to step 2:
77 can be fit into 58 0 times, resulting in a remainder of 58.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 58 leaves us with 58.
Take the next digit (0) from the dividend and append it to 58, then repeat: 580 / 77

Let's proceed to step 3:
If we divide 580 by 77, we get 7 and a remainder of 41.
Use 7 as the next digit of our solution. 
Result so far: 7.0
Subtract 539 from 580 to get 41.
Bring next digit (8) of the dividend behind the 41 and repeat the process: 418 / 77

On to step 4:
The number 77 fits into 418 5 times, leaving a remainder of 33.
Record the quotient 5 as the next digit in the result. 
Result so far: 75.0
If we subtract 385 from 418, we get 33.
Fetch the next digit (4) from the dividend, attach it to 33 and continue: 334 / 77

Advancing to step 5:
77 can be fit into 334 4 times, resulting in a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 754.0
The remainder is 26 after subtracting 308 from 334.
Append the next digit (5) from the dividend to 26 and continue with: 265 / 77

Let's proceed to step 6:
If we divide 265 by 77, we get 3 and a remainder of 34.
Put 3 as the next digit of the answer. 
Result so far: 7543.0
If we subtract 231 from 265, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 7:
340 divided by 77 is 4 with a remainder of 32.
Write down 4 as next digit of the result. 
Result so far: 7543.4
The remainder is 32 after subtracting 308 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 8:
77 goes into 320 4 times with a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 7543.44
If we take 308 away from 320, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The quotient of the division is 7543.44, and the remainder is 0.012.