98142 ÷ 8 = 12267 R6
Let's divide 98142 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 (8) of the dividend behind the 1 and repeat the process: 18 / 8

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

Step 3:
8 goes into 21 2 times with a remainder of 5.
Write down 2 as next digit of of the result. 
Result so far: 122
Subtract 16 from 21 to get 5.
Bring next digit (4) of the dividend behind the 5 and repeat the process: 54 / 8

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

Step 5:
8 goes into 62 7 times with a remainder of 6.
Write down 7 as next digit of of the result. 
Result so far: 12267
Subtract 56 from 62 to get 6.

The final result is 12267 with a remainder of 6.