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

On to step 1:
5 divided by 8 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (2) from the dividend to 5 and continue with: 52 / 8

Step 2:
8 goes into 52 6 times with a remainder of 4.
The next digit of our result is 6. 
Result so far: 6.0
If we subtract 48 from 52, we get 4.
Bring next digit (2) of the dividend behind the 4 and repeat the process: 42 / 8

Going ahead to step 3:
42 divided by 8 is 5 with a remainder of 2.
Put 5 as the next digit of the answer. 
Result so far: 65.0
If we subtract 40 from 42, we get 2.
Grab the next digit (5) from the dividend, add it to 2, then carry on: 25 / 8

Going ahead to step 4:
8 can be fit into 25 3 times, resulting in a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 653.0
If we subtract 24 from 25, we get 1.
Fetch the next digit (4) from the dividend, attach it to 1 and continue: 14 / 8

On to step 5:
8 goes into 14 1 times with a remainder of 6.
The next digit of our result is 1. 
Result so far: 6531.0
Subtract 8 from 14 to get 6.
Bring next digit (0) of the dividend behind the 6 and repeat the process: 60 / 8

Going ahead to step 6:
When dividing 60 by 8, we get 7 with a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 65317.0
Subtracting 56 from 60 leaves us 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.

Advancing to step 7:
If we divide 40 by 8, we get 5 and a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 65317.5
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.

On to step 8:
0 divided by 8 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 65317.5
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.

On to step 9:
The number 8 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 65317.5
Deduct 0 from 0 and we're left 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.

After the division, we end up with 65317.5 and a remainder of 0.0.