512842 divided by 8 
We want to figure out the number of times 512842 can be divided by 8.

Moving on to step 1:
5 divided by 8 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 8

On to step 2:
If we divide 51 by 8, we get 6 and a remainder of 3.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Deduct 48 from 51 and we're left with 3.
Append the next digit (2) from the dividend to 3 and continue with: 32 / 8

Let's proceed to step 3:
When dividing 32 by 8, we get 4 with a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 64.0
Subtract 32 from 32 to get 0.
Grab the next digit (8) from the dividend, add it to 0, then carry on: 8 / 8

Moving on to step 4:
8 can be fit into 8 1 times, resulting in a remainder of 0.
The next digit of our result is 1. 
Result so far: 641.0
Deduct 8 from 8 and we're left with 0.
Take the next digit (4) from the dividend and append it to 0, then repeat: 4 / 8

Let's proceed to step 5:
4 divided by 8 is 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 6410.0
If we subtract 0 from 4, we get 4.
Grab the next digit (2) from the dividend, add it to 4, then carry on: 42 / 8

Going ahead to step 6:
When dividing 42 by 8, we get 5 with a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 64105.0
If we take 40 away from 42, we end up with 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 7:
8 goes into 20 2 times with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 64105.2
If we subtract 16 from 20, we get 4.
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:
8 can be fit into 40 5 times, resulting in a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 64105.25
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.

Let's proceed to step 9:
If we divide 0 by 8, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 64105.25
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 10:
0 divided by 8 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 64105.25
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.

The final outcome is 64105.25, with a leftover of 0.0.