We divide 509358 by 8
Let's see how many times 8 fits into 509358.

On to step 1:
5 divided by 8 is 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 (0) from the dividend and append it to 5, then repeat: 50 / 8

Step 2:
If we divide 50 by 8, we get 6 and a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 6.0
Subtracting 48 from 50 leaves us with 2.
Fetch the next digit (9) from the dividend, attach it to 2 and continue: 29 / 8

On to step 3:
8 goes into 29 3 times with a remainder of 5.
Use 3 as the next digit of our solution. 
Result so far: 63.0
Subtracting 24 from 29 leaves us with 5.
Include the next digit (3) from the dividend after 5, then repeat: 53 / 8

Moving on to step 4:
The number 8 fits into 53 6 times, leaving a remainder of 5.
Use 6 as the next digit of our solution. 
Result so far: 636.0
Deduct 48 from 53 and we're left with 5.
Take the next digit (5) from the dividend and append it to 5, then repeat: 55 / 8

Moving on to step 5:
55 divided by 8 is 6 with a remainder of 7.
Record the quotient 6 as the next digit in the result. 
Result so far: 6366.0
Deduct 48 from 55 and we're left with 7.
Take the next digit (8) from the dividend and append it to 7, then repeat: 78 / 8

Moving on to step 6:
The number 8 fits into 78 9 times, leaving a remainder of 6.
Record the quotient 9 as the next digit in the result. 
Result so far: 63669.0
If we subtract 72 from 78, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 7:
When dividing 60 by 8, we get 7 with a remainder of 4.
The next digit of our result is 7. 
Result so far: 63669.7
The remainder is 4 after subtracting 56 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 8:
If we divide 40 by 8, we get 5 and a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 63669.75
Subtract 40 from 40 to 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.

Going ahead to step 9:
If we divide 0 by 8, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 63669.75
If we take 0 away from 0, we end up 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.

Going ahead to step 10:
When dividing 0 by 8, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 63669.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.

In conclusion, the division gives 63669.75 with a balance of 0.0.