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

On to step 1:
4 divided by 8 is 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Append the next digit (9) from the dividend to 4 and continue with: 49 / 8

Moving on to step 2:
49 divided by 8 is 6 with a remainder of 1.
The next digit of our result is 6. 
Result so far: 6.0
Subtract 48 from 49 to get 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 8

Let's proceed to step 3:
18 divided by 8 is 2 with a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 62.0
If we take 16 away from 18, we end up with 2.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 8

On to step 4:
27 divided by 8 is 3 with a remainder of 3.
The number 3 becomes the next digit in our result. 
Result so far: 623.0
Subtracting 24 from 27 leaves us with 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 8

On to step 5:
If we divide 37 by 8, we get 4 and a remainder of 5.
Record the quotient 4 as the next digit in the result. 
Result so far: 6234.0
Subtract 32 from 37 to get 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 8

Step 6:
If we divide 51 by 8, we get 6 and a remainder of 3.
The number 6 becomes the next digit in our result. 
Result so far: 62346.0
The remainder is 3 after subtracting 48 from 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 7:
If we divide 30 by 8, we get 3 and a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 62346.3
Subtract 24 from 30 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 8:
8 goes into 60 7 times with a remainder of 4.
The number 7 becomes the next digit in our result. 
Result so far: 62346.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.

On to step 9:
When dividing 40 by 8, we get 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 62346.375
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.

Moving on to step 10:
When dividing 0 by 8, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 62346.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.

On to step 11:
When dividing 0 by 8, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 62346.375
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.

The final result is 62346.375 with a remainder of 0.0.