Investigation of the pentaquark resonance in the NK system