Let's divide 512465 by 8
Our goal is to divide 512465 by 8.

On to step 1:
8 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 8

Going ahead to step 2:
51 divided by 8 is 6 with a remainder of 3.
The next digit of our result is 6. 
Result so far: 6.0
If we take 48 away from 51, we end up with 3.
Take the next digit (2) from the dividend and append it to 3, then repeat: 32 / 8

Step 3:
When dividing 32 by 8, we get 4 with a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 64.0
Subtracting 32 from 32 leaves us with 0.
Take the next digit (4) from the dividend and append it to 0, then repeat: 4 / 8

Advancing to step 4:
8 can be fit into 4 0 times, resulting in a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 640.0
Subtract 0 from 4 to get 4.
Take the next digit (6) from the dividend and append it to 4, then repeat: 46 / 8

Advancing to step 5:
8 can be fit into 46 5 times, resulting in a remainder of 6.
Put 5 as the next digit of the answer. 
Result so far: 6405.0
If we subtract 40 from 46, we get 6.
Bring next digit (5) of the dividend behind the 6 and repeat the process: 65 / 8

On to step 6:
If we divide 65 by 8, we get 8 and a remainder of 1.
The number 8 becomes the next digit in our result. 
Result so far: 64058.0
The remainder is 1 after subtracting 64 from 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
When dividing 10 by 8, we get 1 with a remainder of 2.
The next digit of our result is 1. 
Result so far: 64058.1
The remainder is 2 after subtracting 8 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 8:
20 divided by 8 is 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 64058.12
Deduct 16 from 20 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 9:
The number 8 fits into 40 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 64058.125
If we take 40 away from 40, 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:
8 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 64058.125
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 11:
If we divide 0 by 8, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 64058.125
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.

Our division results in 64058.125 with a remaining 0.0.