We're dividing 840528 by 8 
We want to figure out the number of times 840528 can be divided by 8.

Let's proceed to step 1:
8 can be fit into 8 1 times, resulting in a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 8 from 8 leaves us with 0.
Append the next digit (4) from the dividend to 0 and continue with: 4 / 8

On to step 2:
8 goes into 4 0 times with a remainder of 4.
The next digit of our result is 0. 
Result so far: 10.0
If we subtract 0 from 4, we get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 8

Advancing to step 3:
40 divided by 8 is 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 105.0
Deduct 40 from 40 and we're left with 0.
Append the next digit (5) from the dividend to 0 and continue with: 5 / 8

Advancing to step 4:
If we divide 5 by 8, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 1050.0
If we subtract 0 from 5, we get 5.
Take the next digit (2) from the dividend and append it to 5, then repeat: 52 / 8

Moving on to step 5:
8 goes into 52 6 times with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 10506.0
Subtracting 48 from 52 leaves us with 4.
Bring next digit (8) of the dividend behind the 4 and repeat the process: 48 / 8

Moving on to step 6:
8 can be fit into 48 6 times, resulting in a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 105066.0
Subtracting 48 from 48 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.

Step 7:
The number 8 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 105066.0
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 8:
8 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 105066.0
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.

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