We're dividing 50971 by 8 
Let's see how many times 8 fits into 50971.

Step 1:
8 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 8

Moving on to step 2:
When dividing 50 by 8, we get 6 with a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 6.0
If we take 48 away from 50, we end up with 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 8

Let's proceed to step 3:
If we divide 29 by 8, we get 3 and a remainder of 5.
Use 3 as the next digit of our solution. 
Result so far: 63.0
Deduct 24 from 29 and we're left with 5.
Append the next digit (7) from the dividend to 5 and continue with: 57 / 8

Advancing to step 4:
The number 8 fits into 57 7 times, leaving a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 637.0
If we take 56 away from 57, we end up with 1.
Grab the next digit (1) from the dividend, add it to 1, then carry on: 11 / 8

Moving on to step 5:
11 divided by 8 is 1 with a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 6371.0
If we take 8 away from 11, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 6:
8 goes into 30 3 times with a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 6371.3
The remainder is 6 after subtracting 24 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 7:
When dividing 60 by 8, we get 7 with a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 6371.37
The remainder is 4 after subtracting 56 from 60.
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 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: 6371.375
The remainder is 0 after subtracting 40 from 40.
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 9:
When dividing 0 by 8, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 6371.375
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.

Moving on to step 10:
8 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 6371.375
Subtract 0 from 0 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.

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