97142 ÷ 8 = 12142 R6
Let's divide 97142 by 8.

Step 1:
8 goes into 9 1 times with a remainder of 1.
Write down 1 as next digit of of the result. 
Result so far: 1
Subtract 8 from 9 to get 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 8

Step 2:
8 goes into 17 2 times with a remainder of 1.
Write down 2 as next digit of of the result. 
Result so far: 12
Subtract 16 from 17 to get 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 8

Step 3:
8 goes into 11 1 times with a remainder of 3.
Write down 1 as next digit of of the result. 
Result so far: 121
Subtract 8 from 11 to get 3.
Bring next digit (4) of the dividend behind the 3 and repeat the process: 34 / 8

Step 4:
8 goes into 34 4 times with a remainder of 2.
Write down 4 as next digit of of the result. 
Result so far: 1214
Subtract 32 from 34 to get 2.
Bring next digit (2) of the dividend behind the 2 and repeat the process: 22 / 8

Step 5:
8 goes into 22 2 times with a remainder of 6.
Write down 2 as next digit of of the result. 
Result so far: 12142
Subtract 16 from 22 to get 6.

The final result is 12142 with a remainder of 6.