31174342 ÷ 8 
We're looking to find how many times 8 goes into 31174342.

Step 1:
If we divide 3 by 8, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 8

Step 2:
31 divided by 8 is 3 with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we subtract 24 from 31, we get 7.
Include the next digit (1) from the dividend after 7, then repeat: 71 / 8

Moving on to step 3:
If we divide 71 by 8, we get 8 and a remainder of 7.
Put 8 as the next digit of the answer. 
Result so far: 38.0
If we take 64 away from 71, we end up with 7.
Fetch the next digit (7) from the dividend, attach it to 7 and continue: 77 / 8

Step 4:
If we divide 77 by 8, we get 9 and a remainder of 5.
The next digit of our result is 9. 
Result so far: 389.0
Deduct 72 from 77 and we're left with 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 8

Advancing to step 5:
If we divide 54 by 8, we get 6 and a remainder of 6.
The next digit of our result is 6. 
Result so far: 3896.0
Subtract 48 from 54 to get 6.
Grab the next digit (3) from the dividend, add it to 6, then carry on: 63 / 8

Let's proceed to step 6:
When dividing 63 by 8, we get 7 with a remainder of 7.
Put 7 as the next digit of the answer. 
Result so far: 38967.0
Subtracting 56 from 63 leaves us with 7.
Append the next digit (4) from the dividend to 7 and continue with: 74 / 8

On to step 7:
74 divided by 8 is 9 with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 389679.0
The remainder is 2 after subtracting 72 from 74.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 8

Step 8:
8 can be fit into 22 2 times, resulting in a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 3896792.0
Subtract 16 from 22 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.

On to step 9:
The number 8 fits into 60 7 times, leaving a remainder of 4.
The number 7 becomes the next digit in our result. 
Result so far: 3896792.7
If we take 56 away from 60, we end up 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.

On to step 10:
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: 3896792.75
Subtract 40 from 40 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.
Use 0 as the next digit of our solution. 
Result so far: 3896792.75
If we take 0 away from 0, 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 12:
If we divide 0 by 8, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 3896792.75
If we subtract 0 from 0, we 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 final result is 3896792.75 with a remainder of 0.0.