8364 ÷ 8 = 1045 R4
Alright, let's work through the division of 8364 by 8 step by step.

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

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

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

Step 4:
8 goes into 44 5 times with a remainder of 4.
Write down 5 as next digit of of the result. 
Result so far: 1045
Subtract 40 from 44 to get 4.

The final result is 1045 with a remainder of 4.