We're dividing 52018 by 77 
We're looking to find how many times 77 goes into 52018.

Going ahead to step 1:
If we divide 5 by 77, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (2) from the dividend, add it to 5, then carry on: 52 / 77

On to step 2:
The number 77 fits into 52 0 times, leaving a remainder of 52.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 52, we get 52.
Fetch the next digit (0) from the dividend, attach it to 52 and continue: 520 / 77

Step 3:
520 divided by 77 is 6 with a remainder of 58.
Put 6 as the next digit of the answer. 
Result so far: 6.0
Deduct 462 from 520 and we're left with 58.
Take the next digit (1) from the dividend and append it to 58, then repeat: 581 / 77

Step 4:
If we divide 581 by 77, we get 7 and a remainder of 42.
Write down 7 as next digit of the result. 
Result so far: 67.0
Deduct 539 from 581 and we're left with 42.
Append the next digit (8) from the dividend to 42 and continue with: 428 / 77

On to step 5:
The number 77 fits into 428 5 times, leaving a remainder of 43.
Put 5 as the next digit of the answer. 
Result so far: 675.0
The remainder is 43 after subtracting 385 from 428.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Advancing to step 6:
77 can be fit into 430 5 times, resulting in a remainder of 45.
Record the quotient 5 as the next digit in the result. 
Result so far: 675.5
The remainder is 45 after subtracting 385 from 430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Advancing to step 7:
77 can be fit into 450 5 times, resulting in a remainder of 65.
Put 5 as the next digit of the answer. 
Result so far: 675.55
Subtracting 385 from 450 leaves us with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Our division results in 675.55 with a remaining 0.065.