Let's divide 31876698 by 8
We're looking to find how many times 8 goes into 31876698.

Advancing to step 1:
When dividing 3 by 8, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 8

Moving on to step 2:
8 goes into 31 3 times with a remainder of 7.
The next digit of our result is 3. 
Result so far: 3.0
The remainder is 7 after subtracting 24 from 31.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 8

Moving on to step 3:
When dividing 78 by 8, we get 9 with a remainder of 6.
Use 9 as the next digit of our solution. 
Result so far: 39.0
If we take 72 away from 78, we end up with 6.
Bring next digit (7) of the dividend behind the 6 and repeat the process: 67 / 8

Advancing to step 4:
The number 8 fits into 67 8 times, leaving a remainder of 3.
Write down 8 as next digit of the result. 
Result so far: 398.0
The remainder is 3 after subtracting 64 from 67.
Bring next digit (6) of the dividend behind the 3 and repeat the process: 36 / 8

Let's proceed to step 5:
If we divide 36 by 8, we get 4 and a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 3984.0
Deduct 32 from 36 and we're left with 4.
Take the next digit (6) from the dividend and append it to 4, then repeat: 46 / 8

Going ahead to step 6:
If we divide 46 by 8, we get 5 and a remainder of 6.
Put 5 as the next digit of the answer. 
Result so far: 39845.0
The remainder is 6 after subtracting 40 from 46.
Include the next digit (9) from the dividend after 6, then repeat: 69 / 8

On to step 7:
8 can be fit into 69 8 times, resulting in a remainder of 5.
Write down 8 as next digit of the result. 
Result so far: 398458.0
If we subtract 64 from 69, we get 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 8

Moving on to step 8:
8 can be fit into 58 7 times, resulting in a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 3984587.0
If we take 56 away from 58, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 9:
The number 8 fits into 20 2 times, leaving a remainder of 4.
The next digit of our result is 2. 
Result so far: 3984587.2
Subtracting 16 from 20 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.

Let's proceed to step 10:
40 divided by 8 is 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 3984587.25
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 11:
8 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 3984587.25
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.

Advancing to step 12:
When dividing 0 by 8, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 3984587.25
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 3984587.25 with a remainder of 0.0.